main
Ilham Wara Nugroho 2026-01-13 10:34:35 +07:00
parent 9f596bf9e4
commit cb5e527cd3
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@ class User extends Authenticatable implements MustVerifyEmail
$this->notify(new ResetPassword($token));
}
public function userGroup()
public function group()
{
return $this->belongsTo(UserGroup::class);
return $this->belongsTo(Master\Group::class,'ms_group_id');
}
public function agency()