| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- package cn.com.goldenwater.dcproj.model;
- import cn.com.goldenwater.core.model.BaseBean;
- import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import java.io.Serializable;
- import java.util.List;
- /**
- * entity:BisInspAllNode
- *
- * @author xuw
- * @date 2019-6-21
- */
- @ApiModel(value = "AttAdXBaseNode对象", description = "行政区树节点对象")
- @JsonIgnoreProperties(value = {"handler", "hibernateLazyInitializer"})
- public class AttAdXBaseNode extends BaseBean implements Serializable {
- @ApiModelProperty(value = "节点ID", name = "id")
- private String id;
- @ApiModelProperty(value = "节点父ID", name = "pid")
- private String pid;
- @ApiModelProperty(value = "节点名称", name = "nm")
- private String nm;
- @ApiModelProperty(value = "节点等级", name = "level")
- private String level;
- @ApiModelProperty(value = "下级节点数组", name = "children")
- private List<AttAdXBaseNode> children;
- public AttAdXBaseNode() {
- }
- 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 getNm() {
- return nm;
- }
- public void setNm(String nm) {
- this.nm = nm;
- }
- @Override
- public String toString() {
- return "BisInspAll [" + "id=" + id + ", pid=" + pid + ", nm=" + nm + "]";
- }
- public List<AttAdXBaseNode> getChildren() {
- return children;
- }
- public void setChildren(List<AttAdXBaseNode> children) {
- this.children = children;
- }
- public String getLevel() {
- return level;
- }
- public void setLevel(String level) {
- this.level = level;
- }
- }
|