Merge branch 'dev' into branch-dev
This commit is contained in:
24
app/Constants/Admin/DepotCode.php
Normal file
24
app/Constants/Admin/DepotCode.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Constants\Admin;
|
||||
|
||||
use Hyperf\Constants\AbstractConstants;
|
||||
use Hyperf\Constants\Annotation\Constants;
|
||||
|
||||
#[Constants]
|
||||
class DepotCode extends AbstractConstants
|
||||
{
|
||||
/***
|
||||
* @var int 1=未删除 2=已删除
|
||||
*/
|
||||
const int IS_NO_DEL = 1;
|
||||
|
||||
const int IS_DEL = 2;
|
||||
|
||||
/***
|
||||
* @var int 1=已入库 2=已出库
|
||||
*/
|
||||
const INT INPUT = 1;
|
||||
|
||||
const INT OUTPUT = 2;
|
||||
}
|
||||
13
app/Constants/Common/DishCode.php
Normal file
13
app/Constants/Common/DishCode.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Constants\Common;
|
||||
|
||||
class DishCode
|
||||
{
|
||||
/***
|
||||
* @var int 1=未删除 2=已删除
|
||||
*/
|
||||
const int IS_NO_DEL = 1;
|
||||
const int IS_DELETE = 2;
|
||||
|
||||
}
|
||||
39
app/Constants/Common/MaterialCode.php
Normal file
39
app/Constants/Common/MaterialCode.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace App\Constants\Common;
|
||||
|
||||
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;
|
||||
|
||||
const int UN_AUDIT = 1;
|
||||
const int AUDITED = 2;
|
||||
|
||||
const int AUDIT_REFUSE = 3;
|
||||
|
||||
const int PART_OUT = 4;
|
||||
|
||||
const int ALL_OUT = 5;
|
||||
|
||||
|
||||
}
|
||||
@@ -14,4 +14,5 @@ class RoleCode
|
||||
const int MARKETPLACE = 6;
|
||||
const int CHEF = 7;
|
||||
const int DRIVER = 8;
|
||||
const int WAREHOUSE = 9;
|
||||
}
|
||||
Reference in New Issue
Block a user