2018-02-24 06:37:10 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
{
|
|
|
|
public const STORED = 0;
|
|
|
|
public const ACTIVE = 1;
|
|
|
|
public const RETIRED = 2;
|
|
|
|
public const SCRAPPED = 3;
|
|
|
|
public const WRITTEN_OFF = 4;
|
|
|
|
|
|
|
|
public static $labels = [
|
|
|
|
AircraftStatus::STORED => 'Stored',
|
|
|
|
AircraftStatus::ACTIVE => 'Active',
|
|
|
|
AircraftStatus::RETIRED => 'Retired',
|
|
|
|
AircraftStatus::SCRAPPED => 'Scrapped',
|
|
|
|
AircraftStatus::WRITTEN_OFF => 'Written Off',
|
|
|
|
];
|
|
|
|
}
|