feat: Implement admin role and permission management, employee management APIs, and user profile extensions.

This commit is contained in:
pbao9
2026-03-10 11:43:19 +07:00
parent a70900f542
commit cf0f2cf686
14 changed files with 924 additions and 187 deletions
+6 -1
View File
@@ -14,6 +14,8 @@ class User extends Authenticatable implements JWTSubject
use HasRoles;
protected $table = 'user';
protected $guard_name = 'admin';
/**
* The attributes that are mass assignable.
*
@@ -25,7 +27,10 @@ class User extends Authenticatable implements JWTSubject
'lastname',
'username',
'email',
'email_verified_at'
'email_verified_at',
'birthday',
'address',
'phone',
];
/**