big update base struktur tahap 1

This commit is contained in:
Wian Drs
2026-07-27 16:24:09 +07:00
parent 2b3592c4c2
commit 1dd02baa72
169 changed files with 24405 additions and 977 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Enums;
enum UserAccessLevel: string
{
case CUSTOMER = 'customer';
case STAFF = 'staff';
case TENANT_OWNER = 'tenant_owner';
case MASTER_ADMIN = 'master_admin';
public function rank(): int
{
return match ($this) {
self::CUSTOMER => 1,
self::STAFF => 2,
self::TENANT_OWNER => 3,
self::MASTER_ADMIN => 4,
};
}
}