phpvms/app/Models/Enums/ActiveState.php

21 lines
357 B
PHP
Raw Normal View History

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