2018-01-11 02:39:13 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
|
2018-03-19 10:24:41 +08:00
|
|
|
use App\Interfaces\Enum;
|
|
|
|
|
2018-01-11 02:39:13 +08:00
|
|
|
/**
|
|
|
|
* Class AircraftState
|
|
|
|
* @package App\Models\Enums
|
|
|
|
*/
|
2018-03-08 22:51:36 +08:00
|
|
|
class AircraftState extends Enum
|
2018-01-11 02:39:13 +08:00
|
|
|
{
|
2018-02-11 04:06:25 +08:00
|
|
|
public const PARKED = 0;
|
|
|
|
public const IN_USE = 1;
|
|
|
|
public const IN_AIR = 2;
|
2018-01-11 02:39:13 +08:00
|
|
|
|
|
|
|
public static $labels = [
|
2018-03-20 09:50:40 +08:00
|
|
|
AircraftState::PARKED => 'On Ground',
|
|
|
|
AircraftState::IN_USE => 'In Use',
|
|
|
|
AircraftState::IN_AIR => 'In Air',
|
2018-01-11 02:39:13 +08:00
|
|
|
];
|
|
|
|
}
|