d41bcb4caee9a96bd16678d7f3076716121b4ff7.svn-base 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. package cn.com.goldenwater.dcproj.model;
  2. import cn.com.goldenwater.core.model.BaseBean;
  3. import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  4. import io.swagger.annotations.ApiModel;
  5. import io.swagger.annotations.ApiModelProperty;
  6. import java.io.Serializable;
  7. import java.util.List;
  8. /**
  9. * entity:BisInspAllNode
  10. *
  11. * @author xuw
  12. * @date 2019-6-21
  13. */
  14. @ApiModel(value = "AttAdXBaseNode对象", description = "行政区树节点对象")
  15. @JsonIgnoreProperties(value = {"handler", "hibernateLazyInitializer"})
  16. public class AttAdXBaseNode extends BaseBean implements Serializable {
  17. @ApiModelProperty(value = "节点ID", name = "id")
  18. private String id;
  19. @ApiModelProperty(value = "节点父ID", name = "pid")
  20. private String pid;
  21. @ApiModelProperty(value = "节点名称", name = "nm")
  22. private String nm;
  23. @ApiModelProperty(value = "节点等级", name = "level")
  24. private String level;
  25. @ApiModelProperty(value = "下级节点数组", name = "children")
  26. private List<AttAdXBaseNode> children;
  27. public AttAdXBaseNode() {
  28. }
  29. public String getId() {
  30. return id;
  31. }
  32. public void setId(String id) {
  33. this.id = id;
  34. }
  35. public String getPid() {
  36. return pid;
  37. }
  38. public void setPid(String pid) {
  39. this.pid = pid;
  40. }
  41. public String getNm() {
  42. return nm;
  43. }
  44. public void setNm(String nm) {
  45. this.nm = nm;
  46. }
  47. @Override
  48. public String toString() {
  49. return "BisInspAll [" + "id=" + id + ", pid=" + pid + ", nm=" + nm + "]";
  50. }
  51. public List<AttAdXBaseNode> getChildren() {
  52. return children;
  53. }
  54. public void setChildren(List<AttAdXBaseNode> children) {
  55. this.children = children;
  56. }
  57. public String getLevel() {
  58. return level;
  59. }
  60. public void setLevel(String level) {
  61. this.level = level;
  62. }
  63. }