package org.jeecg.modules.project.entity; import java.io.Serializable; import java.util.List; import java.util.Map; /** * 项目列表树 */ public class ProjectTreeVo implements Serializable { private String id; private String key; private String value; private String title; private Integer type; //树的类型 1-项目组 2-项目 private boolean isLeaf; private String xmmc; private String xmbh; List children; private Map scopedSlots; public List getChildren() { return children; } public void setChildren(List children) { this.children = children; } public ProjectTreeVo() { } public ProjectTreeVo(ProProject project) { this.key = project.getId(); this.value = project.getId(); this.title = project.getXmmc(); this.id = project.getId(); this.xmmc = project.getXmmc(); this.xmbh = project.getXmbh(); } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getKey() { return key; } public void setKey(String key) { this.key = key; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public boolean isLeaf() { return isLeaf; } public void setLeaf(boolean leaf) { isLeaf = leaf; } public String getXmmc() { return xmmc; } public void setXmmc(String xmmc) { this.xmmc = xmmc; } public String getXmbh() { return xmbh; } public void setXmbh(String xmbh) { this.xmbh = xmbh; } public Map getScopedSlots() { return scopedSlots; } public void setScopedSlots(Map scopedSlots) { this.scopedSlots = scopedSlots; } }