Basic tenant structure
This commit is contained in:
17
app/Enumerations/UserRole.php
Normal file
17
app/Enumerations/UserRole.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enumerations;
|
||||
|
||||
use App\Scopes\CommonModel;
|
||||
|
||||
class UserRole extends CommonModel {
|
||||
public const USER_ROLE_ADMIN = 'ROLE_ADMINISTRATOR';
|
||||
public const USER_ROLE_GROUP_LEADER = 'ROLE_GROUP_LEADER';
|
||||
public const USER_ROLE_USER = 'ROLE_USER';
|
||||
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'slug'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user