package com.casic.accessControl.feature.dto; import java.util.ArrayList; import java.util.List; /** * Created by lenovo on 2016/5/19. */ public class OrgDto { private long id; private String name; private long parentId; private List<OrgDto> children = new ArrayList<OrgDto>(); public long getId() { return id; } public void setId(long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public long getParentId() { return parentId; } public void setParentId(long parentId) { this.parentId = parentId; } public List<OrgDto> getChildren() { return children; } public void setChildren(List<OrgDto> children) { this.children = children; } }