实体类Tree
public class Tree {
private String id;
private String pId;
private String name;
private List<Tree> childList;
public List<Tree> getChildList() {
return childList;
}
public void setChildList(List<Tree> childList) {
this.childList = childList;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getpId() {
return pId;
}
public void setpId(String pId) {
this.pId = pId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name