phpvms/app/Models/Enums/AircraftStatus.php

23 lines
579 B
PHP
Raw Normal View History

<?php
namespace App\Models\Enums;
use App\Contracts\Enum;
2018-03-19 10:24:41 +08:00
class AircraftStatus extends Enum
{
2018-08-27 00:40:04 +08:00
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-08-27 00:40:04 +08:00
self::ACTIVE => 'aircraft.status.active',
self::STORED => 'aircraft.status.stored',
self::RETIRED => 'aircraft.status.retired',
self::SCRAPPED => 'aircraft.status.scrapped',
self::WRITTEN_OFF => 'aircraft.status.written',
];
}