2017-12-20 10:19:36 +08:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Enums for PIREP statuses
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Tied to the ACARS statuses/states
|
|
|
|
* Class PirepStatus
|
|
|
|
* @package App\Models\Enums
|
|
|
|
*/
|
|
|
|
class PirepStatus extends EnumBase
|
|
|
|
{
|
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',
|
|
|
|
];
|
|
|
|
}
|