zTree第四章,异步加载,后端

后端

-------------------------------------------------------------------------------------------------

后端的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的通用方法

 

posted @ 2018-08-03 11:34  WhoKnows1  阅读(108)  评论(0编辑  收藏  举报