package com.jiuqi.mobile.nigo.comeclose.bean.client;
import java.util.ArrayList;
import java.util.List;
/**
* 客户端获取合作社列表使用
* @author lizh
* @date 2014-3-21上午10:24:41
* @fileName CooperAndGroupBean.java
* @package com.jiuqi.mobile.nigo.comeclose.bean.client
* @project comeclose
*/
public class CooperAndGroupBean {
private Single parent;
private List<CooperAndGroupBean> children;
public Single getParent() {
return parent;
}
public void setParent(Single parent) {
this.parent = parent;
}
public List<CooperAndGroupBean> getChildren() {
return children;
}
public void setChildren(List<CooperAndGroupBean> children) {
this.children = children;
}
public static void main(String[] args) {
CooperAndGroupBean b = new CooperAndGroupBean();
b.setParent(new Single("久其测试合作社", null, 0,false,""));
List<Single> child = new ArrayList<Single>();
Single child1 = new Single("产创部", null, 1,false,"");
Single child2 = new Single("客服部", null, 1,false,"");
Single child3 = new Single("运营商部", null, 1,false,"");
Single child4 = new Single("马岭亚", "13333333333", 2,true,"");
child.add(child1);
child.add(child2);
child.add(child3);
child.add(child4);
}
}