package com.qianwen.smartman.modules.cps.excel;
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
|
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
|
import java.io.Serializable;
|
|
@HeadRowHeight(20)
|
@ColumnWidth(16)
|
@ContentRowHeight(18)
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/CheckProjectImport.class */
|
public class CheckProjectImport implements Serializable {
|
private static final long serialVersionUID = -7887276971104778975L;
|
@ExcelProperty({"点检项目编号"})
|
private String projectCode;
|
@ExcelProperty({"点检项目名称"})
|
private String projectName;
|
@ExcelProperty({"备注"})
|
private String remark;
|
@ExcelProperty({"点检项名称"})
|
private String itemName;
|
@ExcelProperty({"数值类型"})
|
private String valueType;
|
@ExcelProperty({"点检要求"})
|
private String requirement;
|
@ExcelProperty({"标准数值"})
|
private String standardValue;
|
@ExcelIgnore
|
private String failReason;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/CheckProjectImport$CheckProjectImportBuilder.class */
|
public static class CheckProjectImportBuilder {
|
private String projectCode;
|
private String projectName;
|
private String remark;
|
private String itemName;
|
private String valueType;
|
private String requirement;
|
private String standardValue;
|
private String failReason;
|
|
CheckProjectImportBuilder() {
|
}
|
|
public CheckProjectImportBuilder projectCode(final String projectCode) {
|
this.projectCode = projectCode;
|
return this;
|
}
|
|
public CheckProjectImportBuilder projectName(final String projectName) {
|
this.projectName = projectName;
|
return this;
|
}
|
|
public CheckProjectImportBuilder remark(final String remark) {
|
this.remark = remark;
|
return this;
|
}
|
|
public CheckProjectImportBuilder itemName(final String itemName) {
|
this.itemName = itemName;
|
return this;
|
}
|
|
public CheckProjectImportBuilder valueType(final String valueType) {
|
this.valueType = valueType;
|
return this;
|
}
|
|
public CheckProjectImportBuilder requirement(final String requirement) {
|
this.requirement = requirement;
|
return this;
|
}
|
|
public CheckProjectImportBuilder standardValue(final String standardValue) {
|
this.standardValue = standardValue;
|
return this;
|
}
|
|
public CheckProjectImportBuilder failReason(final String failReason) {
|
this.failReason = failReason;
|
return this;
|
}
|
|
public CheckProjectImport build() {
|
return new CheckProjectImport(this.projectCode, this.projectName, this.remark, this.itemName, this.valueType, this.requirement, this.standardValue, this.failReason);
|
}
|
|
public String toString() {
|
return "CheckProjectImport.CheckProjectImportBuilder(projectCode=" + this.projectCode + ", projectName=" + this.projectName + ", remark=" + this.remark + ", itemName=" + this.itemName + ", valueType=" + this.valueType + ", requirement=" + this.requirement + ", standardValue=" + this.standardValue + ", failReason=" + this.failReason + ")";
|
}
|
}
|
|
public void setProjectCode(final String projectCode) {
|
this.projectCode = projectCode;
|
}
|
|
public void setProjectName(final String projectName) {
|
this.projectName = projectName;
|
}
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public void setItemName(final String itemName) {
|
this.itemName = itemName;
|
}
|
|
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 setFailReason(final String failReason) {
|
this.failReason = failReason;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CheckProjectImport) {
|
CheckProjectImport other = (CheckProjectImport) o;
|
if (other.canEqual(this)) {
|
Object this$projectCode = getProjectCode();
|
Object other$projectCode = other.getProjectCode();
|
if (this$projectCode == null) {
|
if (other$projectCode != null) {
|
return false;
|
}
|
} else if (!this$projectCode.equals(other$projectCode)) {
|
return false;
|
}
|
Object this$projectName = getProjectName();
|
Object other$projectName = other.getProjectName();
|
if (this$projectName == null) {
|
if (other$projectName != null) {
|
return false;
|
}
|
} else if (!this$projectName.equals(other$projectName)) {
|
return false;
|
}
|
Object this$remark = getRemark();
|
Object other$remark = other.getRemark();
|
if (this$remark == null) {
|
if (other$remark != null) {
|
return false;
|
}
|
} else if (!this$remark.equals(other$remark)) {
|
return false;
|
}
|
Object this$itemName = getItemName();
|
Object other$itemName = other.getItemName();
|
if (this$itemName == null) {
|
if (other$itemName != null) {
|
return false;
|
}
|
} else if (!this$itemName.equals(other$itemName)) {
|
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$failReason = getFailReason();
|
Object other$failReason = other.getFailReason();
|
return this$failReason == null ? other$failReason == null : this$failReason.equals(other$failReason);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CheckProjectImport;
|
}
|
|
public int hashCode() {
|
Object $projectCode = getProjectCode();
|
int result = (1 * 59) + ($projectCode == null ? 43 : $projectCode.hashCode());
|
Object $projectName = getProjectName();
|
int result2 = (result * 59) + ($projectName == null ? 43 : $projectName.hashCode());
|
Object $remark = getRemark();
|
int result3 = (result2 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $itemName = getItemName();
|
int result4 = (result3 * 59) + ($itemName == null ? 43 : $itemName.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 $failReason = getFailReason();
|
return (result7 * 59) + ($failReason == null ? 43 : $failReason.hashCode());
|
}
|
|
public String toString() {
|
return "CheckProjectImport(projectCode=" + getProjectCode() + ", projectName=" + getProjectName() + ", remark=" + getRemark() + ", itemName=" + getItemName() + ", valueType=" + getValueType() + ", requirement=" + getRequirement() + ", standardValue=" + getStandardValue() + ", failReason=" + getFailReason() + ")";
|
}
|
|
public static CheckProjectImportBuilder builder() {
|
return new CheckProjectImportBuilder();
|
}
|
|
public CheckProjectImport() {
|
}
|
|
public CheckProjectImport(final String projectCode, final String projectName, final String remark, final String itemName, final String valueType, final String requirement, final String standardValue, final String failReason) {
|
this.projectCode = projectCode;
|
this.projectName = projectName;
|
this.remark = remark;
|
this.itemName = itemName;
|
this.valueType = valueType;
|
this.requirement = requirement;
|
this.standardValue = standardValue;
|
this.failReason = failReason;
|
}
|
|
public String getProjectCode() {
|
return this.projectCode;
|
}
|
|
public String getProjectName() {
|
return this.projectName;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public String getItemName() {
|
return this.itemName;
|
}
|
|
public String getValueType() {
|
return this.valueType;
|
}
|
|
public String getRequirement() {
|
return this.requirement;
|
}
|
|
public String getStandardValue() {
|
return this.standardValue;
|
}
|
|
public String getFailReason() {
|
return this.failReason;
|
}
|
}
|