'datetime', ]; public function country_name() { return $this->belongsTo(Country::class, 'nationality', 'id'); } public function department_name() { return $this->belongsTo('App\Models\Department', 'department'); } public function university() { return $this->belongsTo('App\Models\University', 'university_id'); } public function wishlist_teacher() { return $this->belongsTo('App\User', 'wishlist_teacher_id','id'); } }