2018-01-10 03:34:19 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
|
2019-07-16 03:44:31 +08:00
|
|
|
use App\Contracts\Enum;
|
2018-03-19 10:24:41 +08:00
|
|
|
|
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
|
|
|
*/
|
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-08-27 00:40:04 +08:00
|
|
|
public const ACTIVE = 1;
|
2018-01-10 03:34:19 +08:00
|
|
|
|
|
|
|
public static $labels = [
|
2018-08-27 00:40:04 +08:00
|
|
|
self::ACTIVE => 'common.active',
|
|
|
|
self::INACTIVE => 'common.inactive',
|
2018-01-10 03:34:19 +08:00
|
|
|
];
|
|
|
|
}
|