public enum ModelCode extends Enum<ModelCode> implements net.mingsoft.base.constant.e.BaseEnum
| Enum Constant and Description |
|---|
ADMIN_LOGIN
登录模块编号
|
APP
内容:站点模块编号
|
CITY
城市
|
COLUMN
通用分类
|
ROLE
权限管理:角色权限模块编号
|
ROLE_MANAGER
管理员管理
|
SCHOOL
学校
|
| Modifier and Type | Method and Description |
|---|---|
int |
toInt()
返回该modelCode常量的整型表示
|
String |
toString()
返回该modelCode常量的字符串表示
|
static ModelCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelCode ADMIN_LOGIN
public static final ModelCode ROLE
public static final ModelCode CITY
public static final ModelCode ROLE_MANAGER
public static final ModelCode APP
public static final ModelCode COLUMN
public static final ModelCode SCHOOL
public static ModelCode[] values()
for (ModelCode c : ModelCode.values()) System.out.println(c);
public static ModelCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
public int toInt()
toInt in interface net.mingsoft.base.constant.e.BaseEnumCopyright © 2020. All rights reserved.