CenterdataTHydraulicRiver.java 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. package com.sooka.sponest.data.digitalwater.domain;
  2. import com.ruoyi.common.core.annotation.Excel;
  3. import com.sooka.sponest.data.base.domain.BaseBusinessEntity;
  4. import io.swagger.annotations.ApiModel;
  5. import io.swagger.annotations.ApiModelProperty;
  6. import org.apache.commons.lang3.builder.ToStringBuilder;
  7. import org.apache.commons.lang3.builder.ToStringStyle;
  8. import javax.validation.constraints.NotBlank;
  9. import java.util.List;
  10. /**
  11. * 河流资源对象 centerdata_t_hydraulic_river
  12. *
  13. * @author lyq
  14. * @date 2022-11-17
  15. */
  16. @ApiModel(value ="河流资源对象",description = "河流资源对象")
  17. public class CenterdataTHydraulicRiver extends BaseBusinessEntity {
  18. private static final long serialVersionUID = 1L;
  19. /**
  20. * 主键id
  21. */
  22. @ApiModelProperty(value = "主键id", required = false)
  23. private String id;
  24. /**
  25. * 名称
  26. */
  27. @ApiModelProperty(value = "名称", required = false)
  28. @Excel(name = "名称")
  29. @NotBlank(message = "名称不能为空")
  30. private String name;
  31. /**
  32. * 流域面积 平方公里
  33. */
  34. @ApiModelProperty(value = "流域面积 平方公里", required = false)
  35. @Excel(name = "流域面积 平方公里")
  36. @NotBlank(message = "流域面积 平方公里不能为空")
  37. private String basinArea;
  38. /**
  39. * 县域内面积 平方公里
  40. */
  41. @ApiModelProperty(value = "县域内面积 平方公里", required = false)
  42. @Excel(name = "县域内面积 平方公里")
  43. @NotBlank(message = "县域内面积 平方公里不能为空")
  44. private String basinAreaCounty;
  45. /**
  46. * 河源
  47. */
  48. @ApiModelProperty(value = "河源", required = false)
  49. @Excel(name = "河源")
  50. private String riverSource;
  51. /**
  52. * 河口 即河段终点
  53. */
  54. @ApiModelProperty(value = "河口 即河段终点", required = false)
  55. @Excel(name = "河口 即河段终点")
  56. private String estuary;
  57. @ApiModelProperty(value = "流经村", required = false)
  58. private List<Long> hamletNum;//id
  59. @Excel(name = "流经村")
  60. private List<String> hamletNumLabel;//label
  61. private String hamlet;//列表展示用id
  62. private String hamletLabel;//列表展示用
  63. /**
  64. * 河道总长 公里
  65. */
  66. @ApiModelProperty(value = "河道总长 公里", required = false)
  67. @Excel(name = "河道总长 公里")
  68. @NotBlank(message = "河道总长 公里不能为空")
  69. private String riverwayLength;
  70. /**
  71. * 县域内河道长 公里
  72. */
  73. @ApiModelProperty(value = "县域内河道长 公里", required = false)
  74. @Excel(name = "县域内河道长 公里")
  75. @NotBlank(message = "县域内河道长 公里不能为空")
  76. private String riverwayLengthCounty;
  77. /**
  78. * 部门id
  79. */
  80. @ApiModelProperty(value = "部门id", required = false)
  81. private Long deptId;
  82. /**
  83. * 所属部门
  84. */
  85. @ApiModelProperty(value = "所属部门", required = false)
  86. @Excel(name = "所属部门")
  87. @NotBlank(message = "部门名称不能为空")
  88. private String deptName;
  89. /**
  90. * 经度
  91. */
  92. @ApiModelProperty(value = "经度", required = false)
  93. @Excel(name = "经度")
  94. @NotBlank(message = "经度不能为空")
  95. private String longitude;
  96. /**
  97. * 纬度
  98. */
  99. @ApiModelProperty(value = "纬度", required = false)
  100. @Excel(name = "纬度")
  101. @NotBlank(message = "纬度不能为空")
  102. private String latitude;
  103. public String getHamletLabel() {
  104. return hamletLabel;
  105. }
  106. public void setHamletLabel(String hamletLabel) {
  107. this.hamletLabel = hamletLabel;
  108. }
  109. public String getHamlet() {
  110. return hamlet;
  111. }
  112. public void setHamlet(String hamlet) {
  113. this.hamlet = hamlet;
  114. }
  115. public List<Long> getHamletNum() {
  116. return hamletNum;
  117. }
  118. public void setHamletNum(List<Long> hamletNum) {
  119. this.hamletNum = hamletNum;
  120. }
  121. public List<String> getHamletNumLabel() {
  122. return hamletNumLabel;
  123. }
  124. public void setHamletNumLabel(List<String> hamletNumLabel) {
  125. this.hamletNumLabel = hamletNumLabel;
  126. }
  127. public String getLongitude() {
  128. return longitude;
  129. }
  130. public void setLongitude(String longitude) {
  131. this.longitude = longitude;
  132. }
  133. public String getLatitude() {
  134. return latitude;
  135. }
  136. public void setLatitude(String latitude) {
  137. this.latitude = latitude;
  138. }
  139. /**
  140. * 数据状态
  141. */
  142. @ApiModelProperty(value = "数据状态", required = false,hidden = true)
  143. private String dataStatus;
  144. /**
  145. * 设备中间表主键
  146. */
  147. @ApiModelProperty(value = "设备中间表主键", required = false,hidden = true)
  148. private List<String> deviceList;
  149. public List<String> getDeviceList() {
  150. return deviceList;
  151. }
  152. public void setDeviceList(List<String> deviceList) {
  153. this.deviceList = deviceList;
  154. }
  155. public void setId(String id) {
  156. this.id = id;
  157. }
  158. public String getId() {
  159. return id;
  160. }
  161. public void setName(String name) {
  162. this.name = name;
  163. }
  164. public String getName() {
  165. return name;
  166. }
  167. public void setBasinArea(String basinArea) {
  168. this.basinArea = basinArea;
  169. }
  170. public String getBasinArea() {
  171. return basinArea;
  172. }
  173. public void setBasinAreaCounty(String basinAreaCounty) {
  174. this.basinAreaCounty = basinAreaCounty;
  175. }
  176. public String getBasinAreaCounty() {
  177. return basinAreaCounty;
  178. }
  179. public void setRiverSource(String riverSource) {
  180. this.riverSource = riverSource;
  181. }
  182. public String getRiverSource() {
  183. return riverSource;
  184. }
  185. public void setEstuary(String estuary) {
  186. this.estuary = estuary;
  187. }
  188. public String getEstuary() {
  189. return estuary;
  190. }
  191. public void setRiverwayLength(String riverwayLength) {
  192. this.riverwayLength = riverwayLength;
  193. }
  194. public String getRiverwayLength() {
  195. return riverwayLength;
  196. }
  197. public void setRiverwayLengthCounty(String riverwayLengthCounty) {
  198. this.riverwayLengthCounty = riverwayLengthCounty;
  199. }
  200. public String getRiverwayLengthCounty() {
  201. return riverwayLengthCounty;
  202. }
  203. public void setDeptId(Long deptId) {
  204. this.deptId = deptId;
  205. }
  206. public Long getDeptId() {
  207. return deptId;
  208. }
  209. public void setDeptName(String deptName) {
  210. this.deptName = deptName;
  211. }
  212. public String getDeptName() {
  213. return deptName;
  214. }
  215. public void setDataStatus(String dataStatus) {
  216. this.dataStatus = dataStatus;
  217. }
  218. public String getDataStatus() {
  219. return dataStatus;
  220. }
  221. @Override
  222. public String toString() {
  223. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  224. .append("id", getId())
  225. .append("name", getName())
  226. .append("basinArea", getBasinArea())
  227. .append("basinAreaCounty", getBasinAreaCounty())
  228. .append("riverSource", getRiverSource())
  229. .append("estuary", getEstuary())
  230. .append("riverwayLength", getRiverwayLength())
  231. .append("riverwayLengthCounty", getRiverwayLengthCounty())
  232. .append("deptId", getDeptId())
  233. .append("deptName", getDeptName())
  234. .append("createBy", getCreateBy())
  235. .append("createName", getCreateName())
  236. .append("createTime", getCreateTime())
  237. .append("updateBy", getUpdateBy())
  238. .append("updateName", getUpdateName())
  239. .append("updateTime", getUpdateTime())
  240. .append("dataStatus", getDataStatus())
  241. .append("latitude", getLatitude())
  242. .append("longitude", getLongitude())
  243. .toString();
  244. }
  245. }