main
parent
c7f0bda24f
commit
92cba17961
@ -0,0 +1,34 @@
|
||||
package com.tamguo.modules.sys.model.enums;
|
||||
|
||||
import java.io.Serializable;
|
||||
import com.baomidou.mybatisplus.enums.IEnum;
|
||||
|
||||
/**
|
||||
* 用户状态
|
||||
*/
|
||||
public enum SysMenuStatusEnum implements IEnum {
|
||||
NORMAL("0", "正常"),
|
||||
DELETE("1" , "删除"),
|
||||
DISABLED("2" , "停用");
|
||||
|
||||
private String value;
|
||||
private String desc;
|
||||
|
||||
SysMenuStatusEnum(final String value, final String desc) {
|
||||
this.value = value;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public Serializable getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public String getDesc(){
|
||||
return this.desc;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue