phpvms/app/Models/Enums/ActiveState.php

21 lines
343 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 = [
ActiveState::INACTIVE => 'Inactive',
ActiveState::ACTIVE => 'Active',
];
}