'date', 'end_date' => 'date', ]; // Relationship with User (Faculty) public function user() { return $this->belongsTo(User::class, 'faculty_id'); } // Relationship with Department public function department() { return $this->belongsTo(Department::class, 'department_id'); } }