// +---------------------------------------------------------------------- declare (strict_types=1); namespace app\common\enum\dealer\apply; use app\common\enum\EnumBasics; /** * 枚举类:分销商入驻审核状态 * Class ApplyStatus * @package app\common\enum\dealer\apply */ class ApplyStatus extends EnumBasics { // 待审核 const WAIT = 10; // 审核通过 const PASS = 20; // 驳回 const REJECT = 30; /** * 获取枚举类型值 * @return array */ public static function data(): array { return [ self::WAIT => [ 'name' => '待审核', 'value' => self::WAIT, ], self::PASS => [ 'name' => '审核通过', 'value' => self::PASS, ], self::REJECT => [ 'name' => '驳回', 'value' => self::REJECT, ] ]; } }