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<ProjectTreeVo> children;
|
private Map<String,Object> scopedSlots;
|
|
|
public List<ProjectTreeVo> getChildren() {
|
return children;
|
}
|
|
public void setChildren(List<ProjectTreeVo> 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<String, Object> getScopedSlots() {
|
return scopedSlots;
|
}
|
|
public void setScopedSlots(Map<String, Object> scopedSlots) {
|
this.scopedSlots = scopedSlots;
|
}
|
}
|