package com.cdkj.frame.core.status;
/**
*
* 0:不允许 1:允许
*
*/
public enum EnumPermission implements BaseEnum {
/**0:不允许*/
Deny((short)0,"不允许"),
/**1:允许 */
Allow((short)1,"允许");
private EnumPermission(short value, String label) {
this.label = label;
this.value = value;
}
private String label;
private short value;
@Override
public String getLabel() {
return this.label;
}
public short getValue() {
return value;
}
public void setValue(short value) {
this.value = value;
}
}
java枚举类型创建示例。
最新推荐文章于 2024-06-13 15:35:57 发布