|
|
@ -4,7 +4,11 @@ import java.io.Serializable;
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotations.TableId;
|
|
|
|
import com.baomidou.mybatisplus.annotations.TableName;
|
|
|
|
import com.baomidou.mybatisplus.annotations.TableName;
|
|
|
|
|
|
|
|
import com.tamguo.modules.sys.model.enums.SysMenuStatusEnum;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -15,6 +19,7 @@ import com.baomidou.mybatisplus.annotations.TableName;
|
|
|
|
public class SysMenuEntity implements Serializable {
|
|
|
|
public class SysMenuEntity implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@TableId
|
|
|
|
private String menuCode;
|
|
|
|
private String menuCode;
|
|
|
|
private String createBy;
|
|
|
|
private String createBy;
|
|
|
|
private Date createDate;
|
|
|
|
private Date createDate;
|
|
|
@ -25,14 +30,15 @@ public class SysMenuEntity implements Serializable {
|
|
|
|
private String menuName;
|
|
|
|
private String menuName;
|
|
|
|
private String menuTarget;
|
|
|
|
private String menuTarget;
|
|
|
|
private String menuType;
|
|
|
|
private String menuType;
|
|
|
|
private String moduleCodes;
|
|
|
|
|
|
|
|
private String parentCode;
|
|
|
|
private String parentCode;
|
|
|
|
private String parentCodes;
|
|
|
|
private String parentCodes;
|
|
|
|
private String permission;
|
|
|
|
private String permission;
|
|
|
|
private String remarks;
|
|
|
|
private String remarks;
|
|
|
|
private String status;
|
|
|
|
|
|
|
|
|
|
|
|
@JSONField(serialzeFeatures= SerializerFeature.WriteEnumUsingToString)
|
|
|
|
|
|
|
|
private SysMenuStatusEnum status;
|
|
|
|
private String sysCode;
|
|
|
|
private String sysCode;
|
|
|
|
private String treeLeaf;
|
|
|
|
private Boolean treeLeaf;
|
|
|
|
private BigDecimal treeLevel;
|
|
|
|
private BigDecimal treeLevel;
|
|
|
|
private String treeNames;
|
|
|
|
private String treeNames;
|
|
|
|
private BigDecimal treeSort;
|
|
|
|
private BigDecimal treeSort;
|
|
|
@ -124,14 +130,6 @@ public class SysMenuEntity implements Serializable {
|
|
|
|
this.menuType = menuType;
|
|
|
|
this.menuType = menuType;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getModuleCodes() {
|
|
|
|
|
|
|
|
return this.moduleCodes;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setModuleCodes(String moduleCodes) {
|
|
|
|
|
|
|
|
this.moduleCodes = moduleCodes;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getParentCode() {
|
|
|
|
public String getParentCode() {
|
|
|
|
return this.parentCode;
|
|
|
|
return this.parentCode;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -164,13 +162,6 @@ public class SysMenuEntity implements Serializable {
|
|
|
|
this.remarks = remarks;
|
|
|
|
this.remarks = remarks;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getStatus() {
|
|
|
|
|
|
|
|
return this.status;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setStatus(String status) {
|
|
|
|
|
|
|
|
this.status = status;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getSysCode() {
|
|
|
|
public String getSysCode() {
|
|
|
|
return this.sysCode;
|
|
|
|
return this.sysCode;
|
|
|
@ -180,14 +171,6 @@ public class SysMenuEntity implements Serializable {
|
|
|
|
this.sysCode = sysCode;
|
|
|
|
this.sysCode = sysCode;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getTreeLeaf() {
|
|
|
|
|
|
|
|
return this.treeLeaf;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setTreeLeaf(String treeLeaf) {
|
|
|
|
|
|
|
|
this.treeLeaf = treeLeaf;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public BigDecimal getTreeLevel() {
|
|
|
|
public BigDecimal getTreeLevel() {
|
|
|
|
return this.treeLevel;
|
|
|
|
return this.treeLevel;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -249,4 +232,20 @@ public class SysMenuEntity implements Serializable {
|
|
|
|
return getMenuCode();
|
|
|
|
return getMenuCode();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public SysMenuStatusEnum getStatus() {
|
|
|
|
|
|
|
|
return status;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setStatus(SysMenuStatusEnum status) {
|
|
|
|
|
|
|
|
this.status = status;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Boolean getTreeLeaf() {
|
|
|
|
|
|
|
|
return treeLeaf;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setTreeLeaf(Boolean treeLeaf) {
|
|
|
|
|
|
|
|
this.treeLeaf = treeLeaf;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|