Merge branch 'master' of itcorp.primaya.id:rajif/aso

This commit is contained in:
Linksehat Dev
2022-11-03 09:52:53 +07:00
13 changed files with 161 additions and 110 deletions

View File

@@ -79,4 +79,9 @@ class User extends Authenticatable
{
return $this->belongsTo(Person::class, 'person_id');
}
public function ownedPersons()
{
return $this->hasMany(Person::class, 'owner_user_id');
}
}