Aircraft can be added without subfleet/block subfleet deletion if still in use #128
This commit is contained in:
18
app/Models/Enums/GenericState.php
Normal file
18
app/Models/Enums/GenericState.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Enums;
|
||||
|
||||
/**
|
||||
* Class GenericState
|
||||
* @package App\Models\Enums
|
||||
*/
|
||||
class GenericState extends EnumBase
|
||||
{
|
||||
const INACTIVE = 0;
|
||||
const ACTIVE = 1;
|
||||
|
||||
public static $labels = [
|
||||
GenericState::INACTIVE => 'Inactive',
|
||||
GenericState::ACTIVE => 'Active',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user