phpvms/app/Models/Enums/ActiveState.php

20 lines
311 B
PHP
Raw Normal View History

<?php
namespace App\Models\Enums;
use App\Contracts\Enum;
2018-03-19 10:24:41 +08:00
/**
* Class ActiveState
*/
class ActiveState extends Enum
{
public const INACTIVE = 0;
2018-08-27 00:40:04 +08:00
public const ACTIVE = 1;
public static $labels = [
2018-08-27 00:40:04 +08:00
self::ACTIVE => 'common.active',
self::INACTIVE => 'common.inactive',
];
}