¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.system.model; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author: LiuS |
| | | * @create: 2023-03-23 14:16 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "产线表æ ç»ææ°æ®å®ä½", description = "产线表") |
| | | public class MdcProductionTreeModel implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -1309711609760828658L; |
| | | |
| | | /** |
| | | * 对åºMdcProductionä¸çidåæ®µ,åç«¯æ°æ®æ ä¸çkey |
| | | */ |
| | | private String key; |
| | | |
| | | /** |
| | | * 对åºMdcProductionä¸çidåæ®µ,åç«¯æ°æ®æ ä¸çvalue |
| | | */ |
| | | private String value; |
| | | |
| | | /** |
| | | * 对åºdepart_nameåæ®µ,åç«¯æ°æ®æ ä¸çtitle |
| | | */ |
| | | private String title; |
| | | |
| | | private boolean isLeaf; |
| | | |
| | | /** |
| | | * ç±»å |
| | | */ |
| | | private Integer type; |
| | | //以䏿æå段åä¸MdcProductionç¸å |
| | | |
| | | private String id; |
| | | |
| | | private String parentId; |
| | | |
| | | private String productionName; |
| | | |
| | | private String productionNameAbbr; |
| | | |
| | | private Integer productionOrder; |
| | | |
| | | private String description; |
| | | |
| | | private String orgType; |
| | | |
| | | private String orgCode; |
| | | |
| | | private String productionCode; |
| | | |
| | | private String address; |
| | | |
| | | private String memo; |
| | | |
| | | private String status; |
| | | |
| | | private String delFlag; |
| | | |
| | | private String createBy; |
| | | |
| | | private Date createTime; |
| | | |
| | | private String updateBy; |
| | | |
| | | private Date updateTime; |
| | | |
| | | private String mdcFlag; |
| | | |
| | | /** |
| | | * 产线è´è´£äººids |
| | | */ |
| | | private String directorUserIds; |
| | | |
| | | private List<MdcProductionTreeModel> children = new ArrayList<>(); |
| | | |
| | | public MdcProductionTreeModel() { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * å°MdcProductionå¯¹è±¡è½¬æ¢æMdcProductionTreeModel对象 |
| | | * |
| | | * @param mdcProduction |
| | | */ |
| | | public MdcProductionTreeModel(MdcProduction mdcProduction) { |
| | | this.key = mdcProduction.getId(); |
| | | this.value = mdcProduction.getId(); |
| | | this.title = mdcProduction.getProductionName(); |
| | | this.id = mdcProduction.getId(); |
| | | this.parentId = mdcProduction.getParentId(); |
| | | this.productionName = mdcProduction.getProductionName(); |
| | | this.productionNameAbbr = mdcProduction.getProductionNameAbbr(); |
| | | this.productionOrder = mdcProduction.getProductionOrder(); |
| | | this.description = mdcProduction.getDescription(); |
| | | this.orgType = mdcProduction.getOrgType(); |
| | | this.orgCode = mdcProduction.getOrgCode(); |
| | | this.productionCode = mdcProduction.getProductionCode(); |
| | | this.address = mdcProduction.getAddress(); |
| | | this.memo = mdcProduction.getMemo(); |
| | | this.status = mdcProduction.getStatus(); |
| | | this.delFlag = mdcProduction.getDelFlag(); |
| | | this.createBy = mdcProduction.getCreateBy(); |
| | | this.createTime = mdcProduction.getCreateTime(); |
| | | this.updateBy = mdcProduction.getUpdateBy(); |
| | | this.updateTime = mdcProduction.getUpdateTime(); |
| | | this.directorUserIds = mdcProduction.getDirectorUserIds(); |
| | | this.mdcFlag = mdcProduction.getMdcFlag(); |
| | | } |
| | | } |