1
0

Giant Update

This commit is contained in:
Wian Drs
2026-07-31 13:57:11 +07:00
parent f68d967c8b
commit b0d08211ec
112 changed files with 6674 additions and 3 deletions
+10
View File
@@ -102,6 +102,16 @@ class User extends Authenticatable
return $this->hasMany(UserMenuGroup::class, 'user_id');
}
public function userNotifications()
{
return $this->hasMany(UserNotification::class, 'user_id');
}
public function wallets()
{
return $this->morphMany(Wallet::class, 'owner');
}
public function isMasterAdmin(): bool
{
return $this->is_master || $this->access_level === UserAccessLevel::MASTER_ADMIN;