<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class EbayItemcondition extends Model{
	

	protected $table = 'ebay_itemcondition';
	protected $connection = 'mysql';	

	public function childs(){
		return $this->hasMany('App\EbayItemcondition','parent_category_id','id');
	}
	
	protected $fillable = [
        'tree_id',
		'item_condition_data',
		'ebay_site',
		'ebay_categories_id',
		'categories_id',
		'itemConditionRequired'
    ];
}
