* 部门表 存储树结构数据的实体类 + * sys_depart *
- * + * * @Author Steve - * @Since 2019-01-22 + * @Since 2019-01-22 */ + public class SysDepartTreeModel implements Serializable{ - + private static final long serialVersionUID = 1L; - + /** 对应SysDepart中的id字段,前端数据树中的key*/ private String key; @@ -32,7 +34,7 @@ public class SysDepartTreeModel implements Serializable{ private boolean isLeaf; // 以下所有字段均与SysDepart相同 - + private String id; private String parentId; @@ -46,7 +48,7 @@ public class SysDepartTreeModel implements Serializable{ private Integer departOrder; private String description; - + private String orgCategory; private String orgType; @@ -185,7 +187,7 @@ public class SysDepartTreeModel implements Serializable{ public void setDepartName(String departName) { this.departName = departName; } - + public String getOrgCategory() { return orgCategory; } @@ -367,7 +369,7 @@ public class SysDepartTreeModel implements Serializable{ Objects.equals(updateTime, model.updateTime) && Objects.equals(children, model.children); } - + /** * 重写hashCode方法 */ @@ -375,7 +377,7 @@ public class SysDepartTreeModel implements Serializable{ public int hashCode() { return Objects.hash(id, parentId, departName, departNameEn, departNameAbbr, - departOrder, description, orgCategory, orgType, orgCode, mobile, fax, address, + departOrder, description, orgCategory, orgType, orgCode, mobile, fax, address, memo, status, delFlag, qywxIdentifier, createBy, createTime, updateBy, updateTime, children); } diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zyclothsstyle/entity/ZyClothsStyle.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zyclothsstyle/entity/ZyClothsStyle.java index faed4dce..2a26bca1 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zyclothsstyle/entity/ZyClothsStyle.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zyclothsstyle/entity/ZyClothsStyle.java @@ -100,6 +100,7 @@ public class ZyClothsStyle implements Serializable { /**折叠搭配及包装*/ @Excel(name = "折叠搭配及包装", width = 15) @ApiModelProperty(value = "折叠搭配及包装") + @Dict(dicCode = "foldingPackaging") private String foldingPackaging; /**配件及标志*/ @Excel(name = "配件及标志", width = 15) @@ -108,6 +109,7 @@ public class ZyClothsStyle implements Serializable { /**缝纫形式*/ @Excel(name = "缝纫形式", width = 15) @ApiModelProperty(value = "缝纫形式") + @Dict(dicCode = "sewingForm") private String sewingForm; /**企业id*/ @Excel(name = "企业id", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")