AUDIT_WAIT
AUDIT_WAIT = 10
枚举类:分销商提现审核状态 Class ApplyStatus
Create an enum by implementing this class and adding class constants.
equals(\MyCLabs\Enum\Enum $enum = null) : boolean
Compares one Enum with another.
This method is final, for more information read https://github.com/myclabs/php-enum/issues/4
\MyCLabs\Enum\Enum | $enum |
True if Enums are equal, false if not equal
<?php
namespace app\common\enum\dealer\withdraw;
use app\common\enum\EnumBasics;
/**
* 枚举类:分销商提现审核状态
* Class ApplyStatus
* @package app\common\enum\dealer\withdraw
*/
class ApplyStatus extends EnumBasics
{
// 待审核
const AUDIT_WAIT = 10;
// 审核通过
const AUDIT_PASS = 20;
// 驳回
const AUDIT_REJECT = 30;
// 已打款
const AUDIT_PAID = 40;
/**
* 获取枚举类型值
* @return array
*/
public static function data()
{
return [
self::AUDIT_WAIT => [
'name' => '待审核',
'value' => self::AUDIT_WAIT,
],
self::AUDIT_PASS => [
'name' => '审核通过',
'value' => self::AUDIT_PASS,
],
self::AUDIT_REJECT => [
'name' => '驳回',
'value' => self::AUDIT_REJECT,
],
self::AUDIT_PAID => [
'name' => '已打款',
'value' => self::AUDIT_PAID,
],
];
}
}