create supervisor cartable

This commit is contained in:
2025-04-22 13:48:04 +03:30
parent 1da6414256
commit d6d9009649
4 changed files with 78 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Enums;
enum SafetyAndPrivacyStatus: int
{
case CONFIRM = 1;
case REJECT = 2;
public static function name(int $state): string
{
$mapArray = [
1 => 'تایید',
2 => 'عدم تایید',
];
return $mapArray[$state];
}
}