package cn.com.goldenwater.dcproj.dto; import io.swagger.annotations.ApiModelProperty; import java.util.Objects; public class TrackCount { @ApiModelProperty("对象id") private String objId; @ApiModelProperty("水毁对象名称") private String nm; @ApiModelProperty("水毁问题总计") private int total; @ApiModelProperty("责任落实情况") private int reManage; @ApiModelProperty("统计管理问题总计") private int countManage; @ApiModelProperty("进度管理问题总计") private int proceManage; @ApiModelProperty("保障措施问题总计") private int protectWay; @ApiModelProperty("保障体系问题总计") private int protectLevel; @ApiModelProperty("其他") private int other; @ApiModelProperty("工程数量") private int projectNm; public int getProjectNm() { return projectNm; } public void setProjectNm(int projectNm) { this.projectNm = projectNm; } public int getOther() { return other; } public void setOther(int other) { this.other = other; } public String getObjId() { return objId; } public void setObjId(String objId) { this.objId = objId; } public String getNm() { return nm; } public void setNm(String nm) { this.nm = nm; } public int getTotal() { return total; } public void setTotal(int total) { this.total = total; } public int getReManage() { return reManage; } public void setReManage(int reManage) { this.reManage = reManage; } public int getCountManage() { return countManage; } public void setCountManage(int countManage) { this.countManage = countManage; } public int getProceManage() { return proceManage; } public void setProceManage(int proceManage) { this.proceManage = proceManage; } public int getProtectWay() { return protectWay; } public void setProtectWay(int protectWay) { this.protectWay = protectWay; } public int getProtectLevel() { return protectLevel; } public void setProtectLevel(int protectLevel) { this.protectLevel = protectLevel; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } TrackCount that = (TrackCount) o; return total == that.total && reManage == that.reManage && countManage == that.countManage && proceManage == that.proceManage && protectWay == that.protectWay && protectLevel == that.protectLevel && Objects.equals(objId, that.objId) && Objects.equals(nm, that.nm); } @Override public int hashCode() { return Objects.hash(objId, nm, total, reManage, countManage, proceManage, protectWay, protectLevel); } }