Set airport and landing time of aircraft after pirep accept #112
This commit is contained in:
20
app/Models/Enums/AircraftState.php
Normal file
20
app/Models/Enums/AircraftState.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Enums;
|
||||
|
||||
/**
|
||||
* Class AircraftState
|
||||
* @package App\Models\Enums
|
||||
*/
|
||||
class AircraftState extends EnumBase
|
||||
{
|
||||
const PARKED = 0;
|
||||
const IN_USE = 1;
|
||||
const IN_AIR = 2;
|
||||
|
||||
public static $labels = [
|
||||
AircraftState::PARKED => 'On Ground',
|
||||
AircraftState::IN_USE => 'In Use',
|
||||
AircraftState::IN_AIR => 'In Air',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user