c0f40b11c3d1cc6931dfa37ea204297a33f7f296.svn-base 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. package cn.com.goldenwater.dcproj.dto;
  2. import io.swagger.annotations.ApiModelProperty;
  3. import java.util.Objects;
  4. public class VillCount {
  5. @ApiModelProperty("问题总计")
  6. private int total;
  7. @ApiModelProperty("地址")
  8. private String adFullName;
  9. @ApiModelProperty("人饮nm名称")
  10. private String nm;
  11. private String code;
  12. @ApiModelProperty("行政村")
  13. private int country;
  14. @ApiModelProperty("饮水工程")
  15. private int waterPro;
  16. @ApiModelProperty("水源地")
  17. private int waterLocal;
  18. @ApiModelProperty("责任落实")
  19. private int reManage;
  20. @ApiModelProperty("省")
  21. private String province;
  22. @ApiModelProperty("县")
  23. private String county;
  24. @ApiModelProperty("县数量")
  25. private int countyNum;
  26. public String getNm() {
  27. return nm;
  28. }
  29. public void setNm(String nm) {
  30. this.nm = nm;
  31. }
  32. public int getCountyNum() {
  33. return countyNum;
  34. }
  35. public void setCountyNum(int countyNum) {
  36. this.countyNum = countyNum;
  37. }
  38. public String getProvince() {
  39. return province;
  40. }
  41. public void setProvince(String province) {
  42. this.province = province;
  43. }
  44. public String getCounty() {
  45. return county;
  46. }
  47. public void setCounty(String county) {
  48. this.county = county;
  49. }
  50. public int getTotal() {
  51. return total;
  52. }
  53. public void setTotal(int total) {
  54. this.total = total;
  55. }
  56. public String getAdFullName() {
  57. return adFullName;
  58. }
  59. public void setAdFullName(String adFullName) {
  60. this.adFullName = adFullName;
  61. }
  62. public String getCode() {
  63. return code;
  64. }
  65. public void setCode(String code) {
  66. this.code = code;
  67. }
  68. public int getCountry() {
  69. return country;
  70. }
  71. public void setCountry(int country) {
  72. this.country = country;
  73. }
  74. public int getWaterPro() {
  75. return waterPro;
  76. }
  77. public void setWaterPro(int waterPro) {
  78. this.waterPro = waterPro;
  79. }
  80. public int getWaterLocal() {
  81. return waterLocal;
  82. }
  83. public void setWaterLocal(int waterLocal) {
  84. this.waterLocal = waterLocal;
  85. }
  86. public int getReManage() {
  87. return reManage;
  88. }
  89. public void setReManage(int reManage) {
  90. this.reManage = reManage;
  91. }
  92. @Override
  93. public boolean equals(Object o) {
  94. if (this == o) {
  95. return true;
  96. }
  97. if (o == null || getClass() != o.getClass()) {
  98. return false;
  99. }
  100. VillCount villCount = (VillCount) o;
  101. return total == villCount.total &&
  102. country == villCount.country &&
  103. waterPro == villCount.waterPro &&
  104. waterLocal == villCount.waterLocal &&
  105. reManage == villCount.reManage &&
  106. Objects.equals(adFullName, villCount.adFullName) &&
  107. Objects.equals(code, villCount.code);
  108. }
  109. @Override
  110. public int hashCode() {
  111. return Objects.hash(total, adFullName, code, country, waterPro, waterLocal, reManage);
  112. }
  113. }