feat:material material_category
This commit is contained in:
29
app/Constants/Admin/MaterialCode.php
Normal file
29
app/Constants/Admin/MaterialCode.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Constants\Admin;
|
||||
|
||||
use Hyperf\Constants\AbstractConstants;
|
||||
use Hyperf\Constants\Annotation\Constants;
|
||||
|
||||
#[Constants]
|
||||
class MaterialCode extends AbstractConstants
|
||||
{
|
||||
/**
|
||||
* 未删除
|
||||
*/
|
||||
const int IS_NO_DEL = 1;
|
||||
|
||||
/**
|
||||
* 已删除
|
||||
*/
|
||||
const int IS_DEL = 2;
|
||||
/**
|
||||
* 启用
|
||||
*/
|
||||
const int ENABLE = 1;
|
||||
/**
|
||||
* 禁用
|
||||
*/
|
||||
const int DISABLE = 2;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user