phpvms/app/Models/Enums/AircraftStatus.php

27 lines
742 B
PHP
Raw Normal View History

<?php
namespace App\Models\Enums;
2018-03-19 10:24:41 +08:00
use App\Interfaces\Enum;
/**
* Class AircraftState
* @package App\Models\Enums
*/
class AircraftStatus extends Enum
{
public const ACTIVE = 'A';
public const STORED = 'S';
public const RETIRED = 'R';
public const SCRAPPED = 'C';
public const WRITTEN_OFF = 'W';
public static $labels = [
2018-04-02 10:44:04 +08:00
AircraftStatus::ACTIVE => 'system.aircraft.status.active',
AircraftStatus::STORED => 'system.aircraft.status.stored',
AircraftStatus::RETIRED => 'system.aircraft.status.retired',
AircraftStatus::SCRAPPED => 'system.aircraft.status.scrapped',
AircraftStatus::WRITTEN_OFF => 'system.aircraft.status.written',
];
}