package com.qianwen.smartman.modules.tpm.dto;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/dto/CheckRecordItemDTO.class */
|
public class CheckRecordItemDTO {
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("点检项id")
|
private Long itemId;
|
@ApiModelProperty("点检项")
|
private String name;
|
@ApiModelProperty("数值类型")
|
private String valueType;
|
@ApiModelProperty("点检要求")
|
private String requirement;
|
@ApiModelProperty("标准数值")
|
private String standardValue;
|
@ApiModelProperty("检验数值")
|
private String checkValue;
|
|
public void setItemId(final Long itemId) {
|
this.itemId = itemId;
|
}
|
|
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 void setCheckValue(final String checkValue) {
|
this.checkValue = checkValue;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CheckRecordItemDTO) {
|
CheckRecordItemDTO other = (CheckRecordItemDTO) o;
|
if (other.canEqual(this)) {
|
Object this$itemId = getItemId();
|
Object other$itemId = other.getItemId();
|
if (this$itemId == null) {
|
if (other$itemId != null) {
|
return false;
|
}
|
} else if (!this$itemId.equals(other$itemId)) {
|
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$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();
|
if (this$standardValue == null) {
|
if (other$standardValue != null) {
|
return false;
|
}
|
} else if (!this$standardValue.equals(other$standardValue)) {
|
return false;
|
}
|
Object this$checkValue = getCheckValue();
|
Object other$checkValue = other.getCheckValue();
|
return this$checkValue == null ? other$checkValue == null : this$checkValue.equals(other$checkValue);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CheckRecordItemDTO;
|
}
|
|
public int hashCode() {
|
Object $itemId = getItemId();
|
int result = (1 * 59) + ($itemId == null ? 43 : $itemId.hashCode());
|
Object $name = getName();
|
int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $valueType = getValueType();
|
int result3 = (result2 * 59) + ($valueType == null ? 43 : $valueType.hashCode());
|
Object $requirement = getRequirement();
|
int result4 = (result3 * 59) + ($requirement == null ? 43 : $requirement.hashCode());
|
Object $standardValue = getStandardValue();
|
int result5 = (result4 * 59) + ($standardValue == null ? 43 : $standardValue.hashCode());
|
Object $checkValue = getCheckValue();
|
return (result5 * 59) + ($checkValue == null ? 43 : $checkValue.hashCode());
|
}
|
|
public String toString() {
|
return "CheckRecordItemDTO(itemId=" + getItemId() + ", name=" + getName() + ", valueType=" + getValueType() + ", requirement=" + getRequirement() + ", standardValue=" + getStandardValue() + ", checkValue=" + getCheckValue() + ")";
|
}
|
|
public Long getItemId() {
|
return this.itemId;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getValueType() {
|
return this.valueType;
|
}
|
|
public String getRequirement() {
|
return this.requirement;
|
}
|
|
public String getStandardValue() {
|
return this.standardValue;
|
}
|
|
public String getCheckValue() {
|
return this.checkValue;
|
}
|
}
|