2018-01-10 03:34:19 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
|
|
|
|
/**
|
2018-02-27 05:16:12 +08:00
|
|
|
* Class ActiveState
|
2018-01-10 03:34:19 +08:00
|
|
|
* @package App\Models\Enums
|
|
|
|
*/
|
2018-02-27 05:16:12 +08:00
|
|
|
class ActiveState extends EnumBase
|
2018-01-10 03:34:19 +08:00
|
|
|
{
|
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 = [
|
2018-02-27 05:16:12 +08:00
|
|
|
ActiveState::INACTIVE => 'Inactive',
|
|
|
|
ActiveState::ACTIVE => 'Active',
|
2018-01-10 03:34:19 +08:00
|
|
|
];
|
|
|
|
}
|