This commit is contained in:
2025-11-16 10:23:06 +03:30
parent eaccd76019
commit 3b82149a6d
4 changed files with 24 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Enums;
enum CmmsMachineStatus: int
{
case AMADE= 1;
case RESERVE = 2;
case DAR_MAMORIAT = 3;
public function label(): string
{
return match ($this) {
self::AMADE => 'آماده',
self::RESERVE => 'رزرو',
self::DAR_MAMORIAT => 'در ماموریت',
};
}
}