package com.qianwen.smartman.modules.cps.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import com.qianwen.core.tenant.mp.TenantEntity; @TableName("blade_check_item") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/CheckItem.class */ public class CheckItem extends TenantEntity { private static final long serialVersionUID = 2622995017969940330L; @ApiModelProperty("点检项目id") private Long checkProjectId; @ApiModelProperty("点检项名称") private String name; @ApiModelProperty("数值类型") private String valueType; @ApiModelProperty("点检要求") private String requirement; @ApiModelProperty("标准数值") private String standardValue; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/CheckItem$CheckItemBuilder.class */ public static class CheckItemBuilder { private Long checkProjectId; private String name; private String valueType; private String requirement; private String standardValue; CheckItemBuilder() { } public CheckItemBuilder checkProjectId(final Long checkProjectId) { this.checkProjectId = checkProjectId; return this; } public CheckItemBuilder name(final String name) { this.name = name; return this; } public CheckItemBuilder valueType(final String valueType) { this.valueType = valueType; return this; } public CheckItemBuilder requirement(final String requirement) { this.requirement = requirement; return this; } public CheckItemBuilder standardValue(final String standardValue) { this.standardValue = standardValue; return this; } public CheckItem build() { return new CheckItem(this.checkProjectId, this.name, this.valueType, this.requirement, this.standardValue); } public String toString() { return "CheckItem.CheckItemBuilder(checkProjectId=" + this.checkProjectId + ", name=" + this.name + ", valueType=" + this.valueType + ", requirement=" + this.requirement + ", standardValue=" + this.standardValue + ")"; } } public void setCheckProjectId(final Long checkProjectId) { this.checkProjectId = checkProjectId; } 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 String toString() { return "CheckItem(checkProjectId=" + getCheckProjectId() + ", name=" + getName() + ", valueType=" + getValueType() + ", requirement=" + getRequirement() + ", standardValue=" + getStandardValue() + ")"; } public static CheckItemBuilder builder() { return new CheckItemBuilder(); } public CheckItem() { } public CheckItem(final Long checkProjectId, final String name, final String valueType, final String requirement, final String standardValue) { this.checkProjectId = checkProjectId; this.name = name; this.valueType = valueType; this.requirement = requirement; this.standardValue = standardValue; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof CheckItem) { CheckItem other = (CheckItem) o; if (other.canEqual(this) && super.equals(o)) { Object this$checkProjectId = getCheckProjectId(); Object other$checkProjectId = other.getCheckProjectId(); if (this$checkProjectId == null) { if (other$checkProjectId != null) { return false; } } else if (!this$checkProjectId.equals(other$checkProjectId)) { 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(); 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 CheckItem; } public int hashCode() { int result = super.hashCode(); Object $checkProjectId = getCheckProjectId(); int result2 = (result * 59) + ($checkProjectId == null ? 43 : $checkProjectId.hashCode()); Object $name = getName(); int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode()); Object $valueType = getValueType(); int result4 = (result3 * 59) + ($valueType == null ? 43 : $valueType.hashCode()); Object $requirement = getRequirement(); int result5 = (result4 * 59) + ($requirement == null ? 43 : $requirement.hashCode()); Object $standardValue = getStandardValue(); return (result5 * 59) + ($standardValue == null ? 43 : $standardValue.hashCode()); } public Long getCheckProjectId() { return this.checkProjectId; } public String getName() { return this.name; } public String getValueType() { return this.valueType; } public String getRequirement() { return this.requirement; } public String getStandardValue() { return this.standardValue; } }