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(20)
|
@ContentRowHeight(18)
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/TrayStorageImport.class */
|
public class TrayStorageImport implements Serializable {
|
private static final long serialVersionUID = -3465997906463234396L;
|
@ExcelProperty({"库区编号"})
|
private String areaCode;
|
@ExcelProperty({"库区名称"})
|
private String areaName;
|
@ExcelProperty({"库位编号"})
|
private String locationCode;
|
@ExcelProperty({"库位名称"})
|
private String locationName;
|
@ExcelProperty({"托盘编号"})
|
private String trayCode;
|
@ExcelProperty({"托盘名称"})
|
private String trayName;
|
@ExcelIgnore
|
private String failReason;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/TrayStorageImport$TrayStorageImportBuilder.class */
|
public static class TrayStorageImportBuilder {
|
private String areaCode;
|
private String areaName;
|
private String locationCode;
|
private String locationName;
|
private String trayCode;
|
private String trayName;
|
private String failReason;
|
|
TrayStorageImportBuilder() {
|
}
|
|
public TrayStorageImportBuilder areaCode(final String areaCode) {
|
this.areaCode = areaCode;
|
return this;
|
}
|
|
public TrayStorageImportBuilder areaName(final String areaName) {
|
this.areaName = areaName;
|
return this;
|
}
|
|
public TrayStorageImportBuilder locationCode(final String locationCode) {
|
this.locationCode = locationCode;
|
return this;
|
}
|
|
public TrayStorageImportBuilder locationName(final String locationName) {
|
this.locationName = locationName;
|
return this;
|
}
|
|
public TrayStorageImportBuilder trayCode(final String trayCode) {
|
this.trayCode = trayCode;
|
return this;
|
}
|
|
public TrayStorageImportBuilder trayName(final String trayName) {
|
this.trayName = trayName;
|
return this;
|
}
|
|
public TrayStorageImportBuilder failReason(final String failReason) {
|
this.failReason = failReason;
|
return this;
|
}
|
|
public TrayStorageImport build() {
|
return new TrayStorageImport(this.areaCode, this.areaName, this.locationCode, this.locationName, this.trayCode, this.trayName, this.failReason);
|
}
|
|
public String toString() {
|
return "TrayStorageImport.TrayStorageImportBuilder(areaCode=" + this.areaCode + ", areaName=" + this.areaName + ", locationCode=" + this.locationCode + ", locationName=" + this.locationName + ", trayCode=" + this.trayCode + ", trayName=" + this.trayName + ", failReason=" + this.failReason + ")";
|
}
|
}
|
|
public void setAreaCode(final String areaCode) {
|
this.areaCode = areaCode;
|
}
|
|
public void setAreaName(final String areaName) {
|
this.areaName = areaName;
|
}
|
|
public void setLocationCode(final String locationCode) {
|
this.locationCode = locationCode;
|
}
|
|
public void setLocationName(final String locationName) {
|
this.locationName = locationName;
|
}
|
|
public void setTrayCode(final String trayCode) {
|
this.trayCode = trayCode;
|
}
|
|
public void setTrayName(final String trayName) {
|
this.trayName = trayName;
|
}
|
|
public void setFailReason(final String failReason) {
|
this.failReason = failReason;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TrayStorageImport) {
|
TrayStorageImport other = (TrayStorageImport) o;
|
if (other.canEqual(this)) {
|
Object this$areaCode = getAreaCode();
|
Object other$areaCode = other.getAreaCode();
|
if (this$areaCode == null) {
|
if (other$areaCode != null) {
|
return false;
|
}
|
} else if (!this$areaCode.equals(other$areaCode)) {
|
return false;
|
}
|
Object this$areaName = getAreaName();
|
Object other$areaName = other.getAreaName();
|
if (this$areaName == null) {
|
if (other$areaName != null) {
|
return false;
|
}
|
} else if (!this$areaName.equals(other$areaName)) {
|
return false;
|
}
|
Object this$locationCode = getLocationCode();
|
Object other$locationCode = other.getLocationCode();
|
if (this$locationCode == null) {
|
if (other$locationCode != null) {
|
return false;
|
}
|
} else if (!this$locationCode.equals(other$locationCode)) {
|
return false;
|
}
|
Object this$locationName = getLocationName();
|
Object other$locationName = other.getLocationName();
|
if (this$locationName == null) {
|
if (other$locationName != null) {
|
return false;
|
}
|
} else if (!this$locationName.equals(other$locationName)) {
|
return false;
|
}
|
Object this$trayCode = getTrayCode();
|
Object other$trayCode = other.getTrayCode();
|
if (this$trayCode == null) {
|
if (other$trayCode != null) {
|
return false;
|
}
|
} else if (!this$trayCode.equals(other$trayCode)) {
|
return false;
|
}
|
Object this$trayName = getTrayName();
|
Object other$trayName = other.getTrayName();
|
if (this$trayName == null) {
|
if (other$trayName != null) {
|
return false;
|
}
|
} else if (!this$trayName.equals(other$trayName)) {
|
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 TrayStorageImport;
|
}
|
|
public int hashCode() {
|
Object $areaCode = getAreaCode();
|
int result = (1 * 59) + ($areaCode == null ? 43 : $areaCode.hashCode());
|
Object $areaName = getAreaName();
|
int result2 = (result * 59) + ($areaName == null ? 43 : $areaName.hashCode());
|
Object $locationCode = getLocationCode();
|
int result3 = (result2 * 59) + ($locationCode == null ? 43 : $locationCode.hashCode());
|
Object $locationName = getLocationName();
|
int result4 = (result3 * 59) + ($locationName == null ? 43 : $locationName.hashCode());
|
Object $trayCode = getTrayCode();
|
int result5 = (result4 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode());
|
Object $trayName = getTrayName();
|
int result6 = (result5 * 59) + ($trayName == null ? 43 : $trayName.hashCode());
|
Object $failReason = getFailReason();
|
return (result6 * 59) + ($failReason == null ? 43 : $failReason.hashCode());
|
}
|
|
public String toString() {
|
return "TrayStorageImport(areaCode=" + getAreaCode() + ", areaName=" + getAreaName() + ", locationCode=" + getLocationCode() + ", locationName=" + getLocationName() + ", trayCode=" + getTrayCode() + ", trayName=" + getTrayName() + ", failReason=" + getFailReason() + ")";
|
}
|
|
public static TrayStorageImportBuilder builder() {
|
return new TrayStorageImportBuilder();
|
}
|
|
public TrayStorageImport() {
|
}
|
|
public TrayStorageImport(final String areaCode, final String areaName, final String locationCode, final String locationName, final String trayCode, final String trayName, final String failReason) {
|
this.areaCode = areaCode;
|
this.areaName = areaName;
|
this.locationCode = locationCode;
|
this.locationName = locationName;
|
this.trayCode = trayCode;
|
this.trayName = trayName;
|
this.failReason = failReason;
|
}
|
|
public String getAreaCode() {
|
return this.areaCode;
|
}
|
|
public String getAreaName() {
|
return this.areaName;
|
}
|
|
public String getLocationCode() {
|
return this.locationCode;
|
}
|
|
public String getLocationName() {
|
return this.locationName;
|
}
|
|
public String getTrayCode() {
|
return this.trayCode;
|
}
|
|
public String getTrayName() {
|
return this.trayName;
|
}
|
|
public String getFailReason() {
|
return this.failReason;
|
}
|
}
|