create new thing

This commit is contained in:
2025-08-25 13:25:49 +03:30
parent e30b19ab79
commit e3cf21ac27
5 changed files with 160 additions and 0 deletions

View File

@@ -6,12 +6,14 @@ enum MissionTypes: int
{
case SAATY= 1;
case ROZANE = 2;
case NO_PROCESS = 3;
public static function name(int $state): string
{
$mapArray = [
1 => 'ساعتی',
2 => 'روزانه',
3 => 'بدون فرآیند',
];
return $mapArray[$state];