2017-12-20 10:19:36 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
|
2018-03-19 10:24:41 +08:00
|
|
|
use App\Interfaces\Enum;
|
|
|
|
|
2017-12-20 10:19:36 +08:00
|
|
|
/**
|
|
|
|
* Tied to the ACARS statuses/states
|
|
|
|
* Class PirepStatus
|
|
|
|
* @package App\Models\Enums
|
|
|
|
*/
|
2018-03-08 22:51:36 +08:00
|
|
|
class PirepStatus extends Enum
|
2017-12-20 10:19:36 +08:00
|
|
|
{
|
2018-02-11 04:06:25 +08:00
|
|
|
public const PREFILE = 0;
|
|
|
|
public const SCHEDULED = 0;
|
|
|
|
public const ENROUTE = 1;
|
|
|
|
public const ARRIVED = 2;
|
2017-12-20 10:19:36 +08:00
|
|
|
|
|
|
|
protected static $labels = [
|
|
|
|
PirepStatus::PREFILE => 'Prefiled',
|
|
|
|
PirepStatus::SCHEDULED => 'Scheduled',
|
|
|
|
PirepStatus::ENROUTE => 'Enroute',
|
|
|
|
PirepStatus::ARRIVED => 'Arrived',
|
|
|
|
];
|
|
|
|
}
|