package cn.com.goldenwater.dcproj.dto; import io.swagger.annotations.ApiModelProperty; import java.util.Objects; public class VillCount { @ApiModelProperty("问题总计") private int total; @ApiModelProperty("地址") private String adFullName; @ApiModelProperty("人饮nm名称") private String nm; private String code; @ApiModelProperty("行政村") private int country; @ApiModelProperty("饮水工程") private int waterPro; @ApiModelProperty("水源地") private int waterLocal; @ApiModelProperty("责任落实") private int reManage; @ApiModelProperty("省") private String province; @ApiModelProperty("县") private String county; @ApiModelProperty("县数量") private int countyNum; public String getNm() { return nm; } public void setNm(String nm) { this.nm = nm; } public int getCountyNum() { return countyNum; } public void setCountyNum(int countyNum) { this.countyNum = countyNum; } public String getProvince() { return province; } public void setProvince(String province) { this.province = province; } public String getCounty() { return county; } public void setCounty(String county) { this.county = county; } public int getTotal() { return total; } public void setTotal(int total) { this.total = total; } public String getAdFullName() { return adFullName; } public void setAdFullName(String adFullName) { this.adFullName = adFullName; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public int getCountry() { return country; } public void setCountry(int country) { this.country = country; } public int getWaterPro() { return waterPro; } public void setWaterPro(int waterPro) { this.waterPro = waterPro; } public int getWaterLocal() { return waterLocal; } public void setWaterLocal(int waterLocal) { this.waterLocal = waterLocal; } public int getReManage() { return reManage; } public void setReManage(int reManage) { this.reManage = reManage; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } VillCount villCount = (VillCount) o; return total == villCount.total && country == villCount.country && waterPro == villCount.waterPro && waterLocal == villCount.waterLocal && reManage == villCount.reManage && Objects.equals(adFullName, villCount.adFullName) && Objects.equals(code, villCount.code); } @Override public int hashCode() { return Objects.hash(total, adFullName, code, country, waterPro, waterLocal, reManage); } }