package com.qianwen.smartman.modules.tpm.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@TableName("blade_check_record_item")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/entity/CheckRecordItem.class */
|
public class CheckRecordItem extends TenantEntity {
|
private static final long serialVersionUID = -8117295267564134981L;
|
private Long checkRecordId;
|
private Long itemId;
|
private String name;
|
private String valueType;
|
private String requirement;
|
private String standardValue;
|
private String checkValue;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/entity/CheckRecordItem$CheckRecordItemBuilder.class */
|
public static class CheckRecordItemBuilder {
|
private Long checkRecordId;
|
private Long itemId;
|
private String name;
|
private String valueType;
|
private String requirement;
|
private String standardValue;
|
private String checkValue;
|
|
CheckRecordItemBuilder() {
|
}
|
|
public CheckRecordItemBuilder checkRecordId(final Long checkRecordId) {
|
this.checkRecordId = checkRecordId;
|
return this;
|
}
|
|
public CheckRecordItemBuilder itemId(final Long itemId) {
|
this.itemId = itemId;
|
return this;
|
}
|
|
public CheckRecordItemBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public CheckRecordItemBuilder valueType(final String valueType) {
|
this.valueType = valueType;
|
return this;
|
}
|
|
public CheckRecordItemBuilder requirement(final String requirement) {
|
this.requirement = requirement;
|
return this;
|
}
|
|
public CheckRecordItemBuilder standardValue(final String standardValue) {
|
this.standardValue = standardValue;
|
return this;
|
}
|
|
public CheckRecordItemBuilder checkValue(final String checkValue) {
|
this.checkValue = checkValue;
|
return this;
|
}
|
|
public CheckRecordItem build() {
|
return new CheckRecordItem(this.checkRecordId, this.itemId, this.name, this.valueType, this.requirement, this.standardValue, this.checkValue);
|
}
|
|
public String toString() {
|
return "CheckRecordItem.CheckRecordItemBuilder(checkRecordId=" + this.checkRecordId + ", itemId=" + this.itemId + ", name=" + this.name + ", valueType=" + this.valueType + ", requirement=" + this.requirement + ", standardValue=" + this.standardValue + ", checkValue=" + this.checkValue + ")";
|
}
|
}
|
|
public void setCheckRecordId(final Long checkRecordId) {
|
this.checkRecordId = checkRecordId;
|
}
|
|
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 String toString() {
|
return "CheckRecordItem(checkRecordId=" + getCheckRecordId() + ", itemId=" + getItemId() + ", name=" + getName() + ", valueType=" + getValueType() + ", requirement=" + getRequirement() + ", standardValue=" + getStandardValue() + ", checkValue=" + getCheckValue() + ")";
|
}
|
|
public static CheckRecordItemBuilder builder() {
|
return new CheckRecordItemBuilder();
|
}
|
|
public CheckRecordItem() {
|
}
|
|
public CheckRecordItem(final Long checkRecordId, final Long itemId, final String name, final String valueType, final String requirement, final String standardValue, final String checkValue) {
|
this.checkRecordId = checkRecordId;
|
this.itemId = itemId;
|
this.name = name;
|
this.valueType = valueType;
|
this.requirement = requirement;
|
this.standardValue = standardValue;
|
this.checkValue = checkValue;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CheckRecordItem) {
|
CheckRecordItem other = (CheckRecordItem) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$checkRecordId = getCheckRecordId();
|
Object other$checkRecordId = other.getCheckRecordId();
|
if (this$checkRecordId == null) {
|
if (other$checkRecordId != null) {
|
return false;
|
}
|
} else if (!this$checkRecordId.equals(other$checkRecordId)) {
|
return false;
|
}
|
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 CheckRecordItem;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $checkRecordId = getCheckRecordId();
|
int result2 = (result * 59) + ($checkRecordId == null ? 43 : $checkRecordId.hashCode());
|
Object $itemId = getItemId();
|
int result3 = (result2 * 59) + ($itemId == null ? 43 : $itemId.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $valueType = getValueType();
|
int result5 = (result4 * 59) + ($valueType == null ? 43 : $valueType.hashCode());
|
Object $requirement = getRequirement();
|
int result6 = (result5 * 59) + ($requirement == null ? 43 : $requirement.hashCode());
|
Object $standardValue = getStandardValue();
|
int result7 = (result6 * 59) + ($standardValue == null ? 43 : $standardValue.hashCode());
|
Object $checkValue = getCheckValue();
|
return (result7 * 59) + ($checkValue == null ? 43 : $checkValue.hashCode());
|
}
|
|
public Long getCheckRecordId() {
|
return this.checkRecordId;
|
}
|
|
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;
|
}
|
}
|