1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\System\Enums; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | class UserRole extends AbstractEnumeration |
16: | { |
17: | public const SuperAdmin = 0; |
18: | public const TenantAdmin = 1; |
19: | public const NormalUser = 2; |
20: | public const Customer = 3; |
21: | public const Anonymous = 4; |
22: | |
23: | |
24: | |
25: | |
26: | protected $aConsts = array( |
27: | 'SuperAdmin' => self::SuperAdmin, |
28: | 'TenantAdmin' => self::TenantAdmin, |
29: | 'NormalUser' => self::NormalUser, |
30: | 'Customer' => self::Customer, |
31: | 'Anonymous' => self::Anonymous, |
32: | ); |
33: | } |
34: | |