6
0
Fork 0
jiqu-library-server/app/Enums/DealerLvl.php

28 lines
635 B
PHP

<?php
namespace App\Enums;
enum DealerLvl: int {
case None = 0;
case Gold = 2;
case Special = 3;
case Contracted = 4;
case Secondary = 5;
case Top = 6;
/**
* @return string
*/
public static function texts(): array
{
return [
static::None->value => '普通用户',
static::Gold->value => '金牌经销商',
static::Special->value => '特邀经销商',
static::Contracted->value => '签约经销商',
static::Secondary->value => '二级经销商',
static::Top->value => '一级经销商',
];
}
}