标签:public nbsp 一个 private pid 异步加载 业务 -- 子节点
后端
-------------------------------------------------------------------------------------------------
后端的TreeBean
-------------------------------------------------------------------------------------------------
import java.util.List;
public class TreeBean implements Serializable {
private String id;
private String name;
private int floor;
private int seq;
private String pId;
private String iconOpen;
private String iconClose;
private String icon;
private List<TreeBean> children;//子节点
private Boolean isParent;
private Boolean open;
}
-------------------------------------------------------------------------------------------------
后端的TreeBean通常是由业务bean转化而来,这里面就一般需要一个转换bean的通用方法
标签:public nbsp 一个 private pid 异步加载 业务 -- 子节点
原文地址:https://www.cnblogs.com/whoknows1/p/9413182.html