package com.qianwen.smartman.modules.cps.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class WcsAndAchievementsVO implements Serializable { @ApiModelProperty("状态码") private String code; @ApiModelProperty("名称") private String name; @ApiModelProperty("1系统默认,2业务逻辑,4反馈") private Integer type; @ApiModelProperty("颜色") private String color; @ApiModelProperty("绩效时间") private Integer rps; @ApiModelProperty("计划内外:0 计划内 1 计划外") private Integer isPlan; public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public void setType(final Integer type) { this.type = type; } public void setColor(final String color) { this.color = color; } public void setRps(final Integer rps) { this.rps = rps; } public void setIsPlan(final Integer isPlan) { this.isPlan = isPlan; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WcsAndAchievementsVO) { WcsAndAchievementsVO other = (WcsAndAchievementsVO) o; if (other.canEqual(this)) { Object this$type = getType(); Object other$type = other.getType(); if (this$type == null) { if (other$type != null) { return false; } } else if (!this$type.equals(other$type)) { return false; } Object this$rps = getRps(); Object other$rps = other.getRps(); if (this$rps == null) { if (other$rps != null) { return false; } } else if (!this$rps.equals(other$rps)) { return false; } Object this$isPlan = getIsPlan(); Object other$isPlan = other.getIsPlan(); if (this$isPlan == null) { if (other$isPlan != null) { return false; } } else if (!this$isPlan.equals(other$isPlan)) { return false; } Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { return false; } Object this$name = getName(); Object other$name = other.getName(); if (this$name == null) { if (other$name != null) { return false; } } else if (!this$name.equals(other$name)) { return false; } Object this$color = getColor(); Object other$color = other.getColor(); return this$color == null ? other$color == null : this$color.equals(other$color); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WcsAndAchievementsVO; } public int hashCode() { Object $type = getType(); int result = (1 * 59) + ($type == null ? 43 : $type.hashCode()); Object $rps = getRps(); int result2 = (result * 59) + ($rps == null ? 43 : $rps.hashCode()); Object $isPlan = getIsPlan(); int result3 = (result2 * 59) + ($isPlan == null ? 43 : $isPlan.hashCode()); Object $code = getCode(); int result4 = (result3 * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); int result5 = (result4 * 59) + ($name == null ? 43 : $name.hashCode()); Object $color = getColor(); return (result5 * 59) + ($color == null ? 43 : $color.hashCode()); } public String toString() { return "WcsAndAchievementsVO(code=" + getCode() + ", name=" + getName() + ", type=" + getType() + ", color=" + getColor() + ", rps=" + getRps() + ", isPlan=" + getIsPlan() + ")"; } public String getCode() { return this.code; } public String getName() { return this.name; } public Integer getType() { return this.type; } public String getColor() { return this.color; } public Integer getRps() { return this.rps; } public Integer getIsPlan() { return this.isPlan; } }