'int', 'flight_id' => 'int', 'toure_date_id' => 'int', 'adult_count' => 'int', 'child_count' => 'int', 'total_price' => 'int', 'status' => 'int', 'created_ar' => 'datetime' ]; protected $fillable = [ 'user_id', 'flight_id', 'toure_date_id', 'adult_count', 'child_count', 'total_price', 'tracking_code', 'status', 'created_ar' ]; public function flight() { return $this->belongsTo(Flight::class); } public function tour_date() { return $this->belongsTo(TourDate::class, 'toure_date_id'); } public function user() { return $this->belongsTo(User::class); } }