'date', ]; /** * Get the department that owns the publication. */ public function department() { return $this->belongsTo(Department::class); } /** * Get the faculty user that owns the publication. */ public function user() { return $this->belongsTo(User::class, 'faculty_id'); } }