2018-01-10 03:34:19 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class GenericState
|
|
|
|
* @package App\Models\Enums
|
|
|
|
*/
|
|
|
|
class GenericState extends EnumBase
|
|
|
|
{
|
2018-02-11 04:06:25 +08:00
|
|
|
public const INACTIVE = 0;
|
|
|
|
public const ACTIVE = 1;
|
2018-01-10 03:34:19 +08:00
|
|
|
|
|
|
|
public static $labels = [
|
|
|
|
GenericState::INACTIVE => 'Inactive',
|
|
|
|
GenericState::ACTIVE => 'Active',
|
|
|
|
];
|
|
|
|
}
|