Add table/models and admin for expenses #136
This commit is contained in:
18
app/Models/Enums/ActiveState.php
Normal file
18
app/Models/Enums/ActiveState.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Enums;
|
||||
|
||||
/**
|
||||
* Class ActiveState
|
||||
* @package App\Models\Enums
|
||||
*/
|
||||
class ActiveState extends EnumBase
|
||||
{
|
||||
public const INACTIVE = 0;
|
||||
public const ACTIVE = 1;
|
||||
|
||||
public static $labels = [
|
||||
ActiveState::INACTIVE => 'Inactive',
|
||||
ActiveState::ACTIVE => 'Active',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user