'int', 'amountOfFans' => 'int', 'avgNumOfVisitorsPerDay' => 'int', 'numOfEntriesPerPage' => 'int', 'startOfCooperationFee' => 'int', 'endOfCooperationFee' => 'int' ]; protected $dates = [ 'createdDate', 'startOfexecutionTime', 'endOfexecutionTime' ]; protected $fillable = [ 'URL', 'createdDate', 'amountOfFans', 'avgNumOfVisitorsPerDay', 'numOfEntriesPerPage', 'startOfCooperationFee', 'endOfCooperationFee', 'startOfexecutionTime', 'endOfexecutionTime' ]; public function receiver() { return $this->belongsTo(\App\Receiver::class, 'RID'); } public function area() { return $this->belongsTo(\App\Area::class, 'AID'); } }