InvestigateDisposition.java 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. package com.ruoyi.system.domain;
  2. import com.ruoyi.common.core.domain.entity.SysDept;
  3. import org.apache.commons.lang3.builder.ToStringBuilder;
  4. import org.apache.commons.lang3.builder.ToStringStyle;
  5. import com.ruoyi.common.annotation.Excel;
  6. import com.ruoyi.common.core.domain.BaseEntity;
  7. import java.util.ArrayList;
  8. import java.util.List;
  9. /**
  10. * 考察配置对象 investigate_disposition
  11. *
  12. * @author ruoyi
  13. * @date 2023-10-10
  14. */
  15. public class InvestigateDisposition extends BaseEntity
  16. {
  17. private static final long serialVersionUID = 1L;
  18. /** id */
  19. private Long investigateDispositionId;
  20. /** 父配置id */
  21. @Excel(name = "父配置id")
  22. private Long parentId;
  23. /** 祖级列表 */
  24. @Excel(name = "祖级列表")
  25. private String ancestors;
  26. /** 显示顺序 */
  27. @Excel(name = "显示顺序")
  28. private Integer orderNum;
  29. /** 标题 */
  30. @Excel(name = "标题")
  31. private String title;
  32. /** 链接地址 */
  33. @Excel(name = "链接地址")
  34. private String url;
  35. /** 是否启用 Y:启用 N:不启用 */
  36. @Excel(name = "是否启用 Y:启用 N:不启用")
  37. private String status;
  38. /** 父部门名称 */
  39. private String parentName;
  40. /** 子部门 */
  41. private List<SysDept> children = new ArrayList<SysDept>();
  42. public String getParentName()
  43. {
  44. return parentName;
  45. }
  46. public void setParentName(String parentName)
  47. {
  48. this.parentName = parentName;
  49. }
  50. public List<SysDept> getChildren()
  51. {
  52. return children;
  53. }
  54. public void setChildren(List<SysDept> children)
  55. {
  56. this.children = children;
  57. }
  58. public void setInvestigateDispositionId(Long investigateDispositionId)
  59. {
  60. this.investigateDispositionId = investigateDispositionId;
  61. }
  62. public Long getInvestigateDispositionId()
  63. {
  64. return investigateDispositionId;
  65. }
  66. public void setParentId(Long parentId)
  67. {
  68. this.parentId = parentId;
  69. }
  70. public Long getParentId()
  71. {
  72. return parentId;
  73. }
  74. public void setAncestors(String ancestors)
  75. {
  76. this.ancestors = ancestors;
  77. }
  78. public String getAncestors()
  79. {
  80. return ancestors;
  81. }
  82. public void setOrderNum(Integer orderNum)
  83. {
  84. this.orderNum = orderNum;
  85. }
  86. public Integer getOrderNum()
  87. {
  88. return orderNum;
  89. }
  90. public void setTitle(String title)
  91. {
  92. this.title = title;
  93. }
  94. public String getTitle()
  95. {
  96. return title;
  97. }
  98. public void setUrl(String url)
  99. {
  100. this.url = url;
  101. }
  102. public String getUrl()
  103. {
  104. return url;
  105. }
  106. public void setStatus(String status)
  107. {
  108. this.status = status;
  109. }
  110. public String getStatus()
  111. {
  112. return status;
  113. }
  114. @Override
  115. public String toString() {
  116. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  117. .append("investigateDispositionId", getInvestigateDispositionId())
  118. .append("parentId", getParentId())
  119. .append("ancestors", getAncestors())
  120. .append("orderNum", getOrderNum())
  121. .append("title", getTitle())
  122. .append("url", getUrl())
  123. .append("status", getStatus())
  124. .append("createBy", getCreateBy())
  125. .append("createTime", getCreateTime())
  126. .append("updateBy", getUpdateBy())
  127. .append("updateTime", getUpdateTime())
  128. .append("remark", getRemark())
  129. .toString();
  130. }
  131. }