main
tamguo 7 years ago
parent 6da0a5e4ab
commit 3689ef254a

@ -159,14 +159,6 @@ public class SysUserEntity implements Serializable {
this.loginCode = loginCode;
}
public String getMgrType() {
return this.mgrType;
}
public void setMgrType(String mgrType) {
this.mgrType = mgrType;
}
public String getMobile() {
return this.mobile;
}
@ -407,4 +399,13 @@ public class SysUserEntity implements Serializable {
this.companyName = companyName;
}
public String getMgrType() {
return mgrType;
}
public void setMgrType(String mgrType) {
this.mgrType = mgrType;
}
}

@ -0,0 +1,34 @@
package com.tamguo.modules.sys.model.enums;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IEnum;
/**
*
*/
public enum SysUserMgrTypeEnum implements IEnum {
NONEADMIN("0", "非系统管理员"),
SYSTEMADMIN("1", "系统管理员"),
SECADMIN("2" , "二级管理员");
private String value;
private String desc;
SysUserMgrTypeEnum(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;
}
}

@ -0,0 +1,33 @@
package com.tamguo.modules.sys.model.enums;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IEnum;
/**
*
*/
public enum SysUserTypeEnum implements IEnum {
EMPLOYEE("employee", "雇员"),
NONE("none", "系统");
private String value;
private String desc;
SysUserTypeEnum(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…
Cancel
Save