package com.qianwen.smartman.modules.cps.excel;
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/FixtureImport.class */
|
public class FixtureImport {
|
private static final long serialVersionUID = 1;
|
@ExcelProperty({"夹具组名称"})
|
private String fixtureGroupName;
|
@ExcelProperty({"夹具编号"})
|
private String fixtureCode;
|
@ExcelProperty({"夹具名称"})
|
private String name;
|
@ExcelIgnore
|
private String failReason;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/FixtureImport$FixtureImportBuilder.class */
|
public static class FixtureImportBuilder {
|
private String fixtureGroupName;
|
private String fixtureCode;
|
private String name;
|
private String failReason;
|
|
FixtureImportBuilder() {
|
}
|
|
public FixtureImportBuilder fixtureGroupName(final String fixtureGroupName) {
|
this.fixtureGroupName = fixtureGroupName;
|
return this;
|
}
|
|
public FixtureImportBuilder fixtureCode(final String fixtureCode) {
|
this.fixtureCode = fixtureCode;
|
return this;
|
}
|
|
public FixtureImportBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public FixtureImportBuilder failReason(final String failReason) {
|
this.failReason = failReason;
|
return this;
|
}
|
|
public FixtureImport build() {
|
return new FixtureImport(this.fixtureGroupName, this.fixtureCode, this.name, this.failReason);
|
}
|
|
public String toString() {
|
return "FixtureImport.FixtureImportBuilder(fixtureGroupName=" + this.fixtureGroupName + ", fixtureCode=" + this.fixtureCode + ", name=" + this.name + ", failReason=" + this.failReason + ")";
|
}
|
}
|
|
public void setFixtureGroupName(final String fixtureGroupName) {
|
this.fixtureGroupName = fixtureGroupName;
|
}
|
|
public void setFixtureCode(final String fixtureCode) {
|
this.fixtureCode = fixtureCode;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setFailReason(final String failReason) {
|
this.failReason = failReason;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof FixtureImport) {
|
FixtureImport other = (FixtureImport) o;
|
if (other.canEqual(this)) {
|
Object this$fixtureGroupName = getFixtureGroupName();
|
Object other$fixtureGroupName = other.getFixtureGroupName();
|
if (this$fixtureGroupName == null) {
|
if (other$fixtureGroupName != null) {
|
return false;
|
}
|
} else if (!this$fixtureGroupName.equals(other$fixtureGroupName)) {
|
return false;
|
}
|
Object this$fixtureCode = getFixtureCode();
|
Object other$fixtureCode = other.getFixtureCode();
|
if (this$fixtureCode == null) {
|
if (other$fixtureCode != null) {
|
return false;
|
}
|
} else if (!this$fixtureCode.equals(other$fixtureCode)) {
|
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$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 FixtureImport;
|
}
|
|
public int hashCode() {
|
Object $fixtureGroupName = getFixtureGroupName();
|
int result = (1 * 59) + ($fixtureGroupName == null ? 43 : $fixtureGroupName.hashCode());
|
Object $fixtureCode = getFixtureCode();
|
int result2 = (result * 59) + ($fixtureCode == null ? 43 : $fixtureCode.hashCode());
|
Object $name = getName();
|
int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $failReason = getFailReason();
|
return (result3 * 59) + ($failReason == null ? 43 : $failReason.hashCode());
|
}
|
|
public String toString() {
|
return "FixtureImport(fixtureGroupName=" + getFixtureGroupName() + ", fixtureCode=" + getFixtureCode() + ", name=" + getName() + ", failReason=" + getFailReason() + ")";
|
}
|
|
public static FixtureImportBuilder builder() {
|
return new FixtureImportBuilder();
|
}
|
|
public FixtureImport(final String fixtureGroupName, final String fixtureCode, final String name, final String failReason) {
|
this.fixtureGroupName = fixtureGroupName;
|
this.fixtureCode = fixtureCode;
|
this.name = name;
|
this.failReason = failReason;
|
}
|
|
public FixtureImport() {
|
}
|
|
public String getFixtureGroupName() {
|
return this.fixtureGroupName;
|
}
|
|
public String getFixtureCode() {
|
return this.fixtureCode;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getFailReason() {
|
return this.failReason;
|
}
|
}
|