Major refactoring for PIREP statuses and states to accomodate ACARS/route data
This commit is contained in:
27
app/Models/Enums/PirepStatus.php
Normal file
27
app/Models/Enums/PirepStatus.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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
|
||||
{
|
||||
const PREFILE = 0;
|
||||
const SCHEDULED = 0;
|
||||
const ENROUTE = 1;
|
||||
const ARRIVED = 2;
|
||||
|
||||
protected static $labels = [
|
||||
PirepStatus::PREFILE => 'Prefiled',
|
||||
PirepStatus::SCHEDULED => 'Scheduled',
|
||||
PirepStatus::ENROUTE => 'Enroute',
|
||||
PirepStatus::ARRIVED => 'Arrived',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user