4d9fcf3b70db49ef319c7f4140b1dfbc9805c6cf.svn-base 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. package cn.com.goldenwater.dcproj.dto;
  2. import io.swagger.annotations.ApiModelProperty;
  3. import java.util.Objects;
  4. public class TrackCount {
  5. @ApiModelProperty("对象id")
  6. private String objId;
  7. @ApiModelProperty("水毁对象名称")
  8. private String nm;
  9. @ApiModelProperty("水毁问题总计")
  10. private int total;
  11. @ApiModelProperty("责任落实情况")
  12. private int reManage;
  13. @ApiModelProperty("统计管理问题总计")
  14. private int countManage;
  15. @ApiModelProperty("进度管理问题总计")
  16. private int proceManage;
  17. @ApiModelProperty("保障措施问题总计")
  18. private int protectWay;
  19. @ApiModelProperty("保障体系问题总计")
  20. private int protectLevel;
  21. @ApiModelProperty("其他")
  22. private int other;
  23. @ApiModelProperty("工程数量")
  24. private int projectNm;
  25. public int getProjectNm() {
  26. return projectNm;
  27. }
  28. public void setProjectNm(int projectNm) {
  29. this.projectNm = projectNm;
  30. }
  31. public int getOther() {
  32. return other;
  33. }
  34. public void setOther(int other) {
  35. this.other = other;
  36. }
  37. public String getObjId() {
  38. return objId;
  39. }
  40. public void setObjId(String objId) {
  41. this.objId = objId;
  42. }
  43. public String getNm() {
  44. return nm;
  45. }
  46. public void setNm(String nm) {
  47. this.nm = nm;
  48. }
  49. public int getTotal() {
  50. return total;
  51. }
  52. public void setTotal(int total) {
  53. this.total = total;
  54. }
  55. public int getReManage() {
  56. return reManage;
  57. }
  58. public void setReManage(int reManage) {
  59. this.reManage = reManage;
  60. }
  61. public int getCountManage() {
  62. return countManage;
  63. }
  64. public void setCountManage(int countManage) {
  65. this.countManage = countManage;
  66. }
  67. public int getProceManage() {
  68. return proceManage;
  69. }
  70. public void setProceManage(int proceManage) {
  71. this.proceManage = proceManage;
  72. }
  73. public int getProtectWay() {
  74. return protectWay;
  75. }
  76. public void setProtectWay(int protectWay) {
  77. this.protectWay = protectWay;
  78. }
  79. public int getProtectLevel() {
  80. return protectLevel;
  81. }
  82. public void setProtectLevel(int protectLevel) {
  83. this.protectLevel = protectLevel;
  84. }
  85. @Override
  86. public boolean equals(Object o) {
  87. if (this == o) {
  88. return true;
  89. }
  90. if (o == null || getClass() != o.getClass()) {
  91. return false;
  92. }
  93. TrackCount that = (TrackCount) o;
  94. return total == that.total &&
  95. reManage == that.reManage &&
  96. countManage == that.countManage &&
  97. proceManage == that.proceManage &&
  98. protectWay == that.protectWay &&
  99. protectLevel == that.protectLevel &&
  100. Objects.equals(objId, that.objId) &&
  101. Objects.equals(nm, that.nm);
  102. }
  103. @Override
  104. public int hashCode() {
  105. return Objects.hash(objId, nm, total, reManage, countManage, proceManage, protectWay, protectLevel);
  106. }
  107. }