2018-02-24 06:37:10 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
|
2018-03-19 10:24:41 +08:00
|
|
|
use App\Interfaces\Enum;
|
|
|
|
|
2018-02-24 06:37:10 +08:00
|
|
|
/**
|
|
|
|
* Class AircraftState
|
|
|
|
* @package App\Models\Enums
|
|
|
|
*/
|
2018-03-08 22:51:36 +08:00
|
|
|
class AircraftStatus extends Enum
|
2018-02-24 06:37:10 +08:00
|
|
|
{
|
2018-03-31 09:21:18 +08:00
|
|
|
public const ACTIVE = 'A';
|
|
|
|
public const STORED = 'S';
|
|
|
|
public const RETIRED = 'R';
|
|
|
|
public const SCRAPPED = 'C';
|
|
|
|
public const WRITTEN_OFF = 'W';
|
2018-02-24 06:37:10 +08:00
|
|
|
|
|
|
|
public static $labels = [
|
2018-03-20 09:50:40 +08:00
|
|
|
AircraftStatus::ACTIVE => 'Active',
|
2018-03-31 09:21:18 +08:00
|
|
|
AircraftStatus::STORED => 'Stored',
|
2018-03-20 09:50:40 +08:00
|
|
|
AircraftStatus::RETIRED => 'Retired',
|
|
|
|
AircraftStatus::SCRAPPED => 'Scrapped',
|
2018-02-24 06:37:10 +08:00
|
|
|
AircraftStatus::WRITTEN_OFF => 'Written Off',
|
|
|
|
];
|
|
|
|
}
|