2018-01-10 03:34:19 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
|
2018-03-19 10:24:41 +08:00
|
|
|
use App\Interfaces\Enum;
|
|
|
|
|
2018-01-10 03:34:19 +08:00
|
|
|
/**
|
2018-02-27 05:16:12 +08:00
|
|
|
* Class ActiveState
|
2018-01-10 03:34:19 +08:00
|
|
|
* @package App\Models\Enums
|
|
|
|
*/
|
2018-03-08 22:51:36 +08:00
|
|
|
class ActiveState extends Enum
|
2018-01-10 03:34:19 +08:00
|
|
|
{
|
2018-02-11 04:06:25 +08:00
|
|
|
public const INACTIVE = 0;
|
2018-03-20 09:50:40 +08:00
|
|
|
public const ACTIVE = 1;
|
2018-01-10 03:34:19 +08:00
|
|
|
|
|
|
|
public static $labels = [
|
2018-04-02 11:26:20 +08:00
|
|
|
ActiveState::ACTIVE => 'system.global.active',
|
|
|
|
ActiveState::INACTIVE => 'system.global.inactive',
|
2018-01-10 03:34:19 +08:00
|
|
|
];
|
|
|
|
}
|