This commit is contained in:
22
app/Constants/CustomerTypeConst.php
Normal file
22
app/Constants/CustomerTypeConst.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Constants;
|
||||
|
||||
use Hyperf\Constants\AbstractConstants;
|
||||
use Hyperf\Constants\Annotation\Constants;
|
||||
|
||||
#[Constants]
|
||||
class CustomerTypeConst extends AbstractConstants
|
||||
{
|
||||
/**
|
||||
* @Message("代理")
|
||||
*/
|
||||
public const int AGENT = 1;
|
||||
|
||||
/**
|
||||
* @Message("非代理")
|
||||
*/
|
||||
public const int NON_AGENT = 2;
|
||||
}
|
Reference in New Issue
Block a user