package com.qianwen.smartman.modules.cps.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import javax.validation.constraints.NotNull; @ApiModel(description = "新增点检项信息") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/CheckItemSubmitDTO.class */ public class CheckItemSubmitDTO implements Serializable { private static final long serialVersionUID = 8394695443078255718L; @NotNull(message = "{cps.check.item.name.not.null}") @ApiModelProperty(value = "点检项", required = true) private String name; @ApiModelProperty(value = "数值类型", required = true) private String valueType; @ApiModelProperty(value = "点检要求", required = true) private String requirement; @ApiModelProperty(value = "标准数值", required = true) private String standardValue; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/CheckItemSubmitDTO$CheckItemSubmitDTOBuilder.class */ public static class CheckItemSubmitDTOBuilder { private String name; private String valueType; private String requirement; private String standardValue; CheckItemSubmitDTOBuilder() { } public CheckItemSubmitDTOBuilder name(final String name) { this.name = name; return this; } public CheckItemSubmitDTOBuilder valueType(final String valueType) { this.valueType = valueType; return this; } public CheckItemSubmitDTOBuilder requirement(final String requirement) { this.requirement = requirement; return this; } public CheckItemSubmitDTOBuilder standardValue(final String standardValue) { this.standardValue = standardValue; return this; } public CheckItemSubmitDTO build() { return new CheckItemSubmitDTO(this.name, this.valueType, this.requirement, this.standardValue); } public String toString() { return "CheckItemSubmitDTO.CheckItemSubmitDTOBuilder(name=" + this.name + ", valueType=" + this.valueType + ", requirement=" + this.requirement + ", standardValue=" + this.standardValue + ")"; } } public void setName(final String name) { this.name = name; } public void setValueType(final String valueType) { this.valueType = valueType; } public void setRequirement(final String requirement) { this.requirement = requirement; } public void setStandardValue(final String standardValue) { this.standardValue = standardValue; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof CheckItemSubmitDTO) { CheckItemSubmitDTO other = (CheckItemSubmitDTO) o; if (other.canEqual(this)) { 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$valueType = getValueType(); Object other$valueType = other.getValueType(); if (this$valueType == null) { if (other$valueType != null) { return false; } } else if (!this$valueType.equals(other$valueType)) { return false; } Object this$requirement = getRequirement(); Object other$requirement = other.getRequirement(); if (this$requirement == null) { if (other$requirement != null) { return false; } } else if (!this$requirement.equals(other$requirement)) { return false; } Object this$standardValue = getStandardValue(); Object other$standardValue = other.getStandardValue(); return this$standardValue == null ? other$standardValue == null : this$standardValue.equals(other$standardValue); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof CheckItemSubmitDTO; } public int hashCode() { Object $name = getName(); int result = (1 * 59) + ($name == null ? 43 : $name.hashCode()); Object $valueType = getValueType(); int result2 = (result * 59) + ($valueType == null ? 43 : $valueType.hashCode()); Object $requirement = getRequirement(); int result3 = (result2 * 59) + ($requirement == null ? 43 : $requirement.hashCode()); Object $standardValue = getStandardValue(); return (result3 * 59) + ($standardValue == null ? 43 : $standardValue.hashCode()); } public String toString() { return "CheckItemSubmitDTO(name=" + getName() + ", valueType=" + getValueType() + ", requirement=" + getRequirement() + ", standardValue=" + getStandardValue() + ")"; } public static CheckItemSubmitDTOBuilder builder() { return new CheckItemSubmitDTOBuilder(); } public CheckItemSubmitDTO() { } public CheckItemSubmitDTO(final String name, final String valueType, final String requirement, final String standardValue) { this.name = name; this.valueType = valueType; this.requirement = requirement; this.standardValue = standardValue; } public String getName() { return this.name; } public String getValueType() { return this.valueType; } public String getRequirement() { return this.requirement; } public String getStandardValue() { return this.standardValue; } }