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/WorkstationExcel.class */
|
public class WorkstationExcel implements Serializable {
|
private static final long serialVersionUID = -8938927851683015090L;
|
@ExcelProperty({"工位编号"})
|
private String code;
|
@ExcelProperty({"工位名称"})
|
private String name;
|
@ExcelProperty({"工位类型"})
|
private String typeName;
|
@ExcelProperty({"所属工位组"})
|
private String groupName;
|
@ExcelProperty({"生产日历编号"})
|
private String calendarCode;
|
@ExcelProperty({"机器编号"})
|
private String machineCode;
|
@ExcelProperty({"机器名称"})
|
private String machineName;
|
@ExcelProperty({"机器PIN码"})
|
private String machinePinCode;
|
@ExcelProperty({"机器短编号"})
|
private String machineShortCode;
|
@ExcelIgnore
|
@ExcelProperty({"工位类型:空、机器、人工"})
|
private Integer type;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/WorkstationExcel$WorkstationExcelBuilder.class */
|
public static class WorkstationExcelBuilder {
|
private String code;
|
private String name;
|
private String typeName;
|
private String groupName;
|
private String calendarCode;
|
private String machineCode;
|
private String machineName;
|
private String machinePinCode;
|
private String machineShortCode;
|
private Integer type;
|
|
WorkstationExcelBuilder() {
|
}
|
|
public WorkstationExcelBuilder code(final String code) {
|
this.code = code;
|
return this;
|
}
|
|
public WorkstationExcelBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public WorkstationExcelBuilder typeName(final String typeName) {
|
this.typeName = typeName;
|
return this;
|
}
|
|
public WorkstationExcelBuilder groupName(final String groupName) {
|
this.groupName = groupName;
|
return this;
|
}
|
|
public WorkstationExcelBuilder calendarCode(final String calendarCode) {
|
this.calendarCode = calendarCode;
|
return this;
|
}
|
|
public WorkstationExcelBuilder machineCode(final String machineCode) {
|
this.machineCode = machineCode;
|
return this;
|
}
|
|
public WorkstationExcelBuilder machineName(final String machineName) {
|
this.machineName = machineName;
|
return this;
|
}
|
|
public WorkstationExcelBuilder machinePinCode(final String machinePinCode) {
|
this.machinePinCode = machinePinCode;
|
return this;
|
}
|
|
public WorkstationExcelBuilder machineShortCode(final String machineShortCode) {
|
this.machineShortCode = machineShortCode;
|
return this;
|
}
|
|
public WorkstationExcelBuilder type(final Integer type) {
|
this.type = type;
|
return this;
|
}
|
|
public WorkstationExcel build() {
|
return new WorkstationExcel(this.code, this.name, this.typeName, this.groupName, this.calendarCode, this.machineCode, this.machineName, this.machinePinCode, this.machineShortCode, this.type);
|
}
|
|
public String toString() {
|
return "WorkstationExcel.WorkstationExcelBuilder(code=" + this.code + ", name=" + this.name + ", typeName=" + this.typeName + ", groupName=" + this.groupName + ", calendarCode=" + this.calendarCode + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", machinePinCode=" + this.machinePinCode + ", machineShortCode=" + this.machineShortCode + ", type=" + this.type + ")";
|
}
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setTypeName(final String typeName) {
|
this.typeName = typeName;
|
}
|
|
public void setGroupName(final String groupName) {
|
this.groupName = groupName;
|
}
|
|
public void setCalendarCode(final String calendarCode) {
|
this.calendarCode = calendarCode;
|
}
|
|
public void setMachineCode(final String machineCode) {
|
this.machineCode = machineCode;
|
}
|
|
public void setMachineName(final String machineName) {
|
this.machineName = machineName;
|
}
|
|
public void setMachinePinCode(final String machinePinCode) {
|
this.machinePinCode = machinePinCode;
|
}
|
|
public void setMachineShortCode(final String machineShortCode) {
|
this.machineShortCode = machineShortCode;
|
}
|
|
public void setType(final Integer type) {
|
this.type = type;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationExcel) {
|
WorkstationExcel other = (WorkstationExcel) o;
|
if (other.canEqual(this)) {
|
Object this$type = getType();
|
Object other$type = other.getType();
|
if (this$type == null) {
|
if (other$type != null) {
|
return false;
|
}
|
} else if (!this$type.equals(other$type)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
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$typeName = getTypeName();
|
Object other$typeName = other.getTypeName();
|
if (this$typeName == null) {
|
if (other$typeName != null) {
|
return false;
|
}
|
} else if (!this$typeName.equals(other$typeName)) {
|
return false;
|
}
|
Object this$groupName = getGroupName();
|
Object other$groupName = other.getGroupName();
|
if (this$groupName == null) {
|
if (other$groupName != null) {
|
return false;
|
}
|
} else if (!this$groupName.equals(other$groupName)) {
|
return false;
|
}
|
Object this$calendarCode = getCalendarCode();
|
Object other$calendarCode = other.getCalendarCode();
|
if (this$calendarCode == null) {
|
if (other$calendarCode != null) {
|
return false;
|
}
|
} else if (!this$calendarCode.equals(other$calendarCode)) {
|
return false;
|
}
|
Object this$machineCode = getMachineCode();
|
Object other$machineCode = other.getMachineCode();
|
if (this$machineCode == null) {
|
if (other$machineCode != null) {
|
return false;
|
}
|
} else if (!this$machineCode.equals(other$machineCode)) {
|
return false;
|
}
|
Object this$machineName = getMachineName();
|
Object other$machineName = other.getMachineName();
|
if (this$machineName == null) {
|
if (other$machineName != null) {
|
return false;
|
}
|
} else if (!this$machineName.equals(other$machineName)) {
|
return false;
|
}
|
Object this$machinePinCode = getMachinePinCode();
|
Object other$machinePinCode = other.getMachinePinCode();
|
if (this$machinePinCode == null) {
|
if (other$machinePinCode != null) {
|
return false;
|
}
|
} else if (!this$machinePinCode.equals(other$machinePinCode)) {
|
return false;
|
}
|
Object this$machineShortCode = getMachineShortCode();
|
Object other$machineShortCode = other.getMachineShortCode();
|
return this$machineShortCode == null ? other$machineShortCode == null : this$machineShortCode.equals(other$machineShortCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationExcel;
|
}
|
|
public int hashCode() {
|
Object $type = getType();
|
int result = (1 * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $code = getCode();
|
int result2 = (result * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $typeName = getTypeName();
|
int result4 = (result3 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
|
Object $groupName = getGroupName();
|
int result5 = (result4 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
|
Object $calendarCode = getCalendarCode();
|
int result6 = (result5 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
|
Object $machineCode = getMachineCode();
|
int result7 = (result6 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
|
Object $machineName = getMachineName();
|
int result8 = (result7 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
|
Object $machinePinCode = getMachinePinCode();
|
int result9 = (result8 * 59) + ($machinePinCode == null ? 43 : $machinePinCode.hashCode());
|
Object $machineShortCode = getMachineShortCode();
|
return (result9 * 59) + ($machineShortCode == null ? 43 : $machineShortCode.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationExcel(code=" + getCode() + ", name=" + getName() + ", typeName=" + getTypeName() + ", groupName=" + getGroupName() + ", calendarCode=" + getCalendarCode() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machinePinCode=" + getMachinePinCode() + ", machineShortCode=" + getMachineShortCode() + ", type=" + getType() + ")";
|
}
|
|
public static WorkstationExcelBuilder builder() {
|
return new WorkstationExcelBuilder();
|
}
|
|
public WorkstationExcel(final String code, final String name, final String typeName, final String groupName, final String calendarCode, final String machineCode, final String machineName, final String machinePinCode, final String machineShortCode, final Integer type) {
|
this.code = code;
|
this.name = name;
|
this.typeName = typeName;
|
this.groupName = groupName;
|
this.calendarCode = calendarCode;
|
this.machineCode = machineCode;
|
this.machineName = machineName;
|
this.machinePinCode = machinePinCode;
|
this.machineShortCode = machineShortCode;
|
this.type = type;
|
}
|
|
public WorkstationExcel() {
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getTypeName() {
|
return this.typeName;
|
}
|
|
public String getGroupName() {
|
return this.groupName;
|
}
|
|
public String getCalendarCode() {
|
return this.calendarCode;
|
}
|
|
public String getMachineCode() {
|
return this.machineCode;
|
}
|
|
public String getMachineName() {
|
return this.machineName;
|
}
|
|
public String getMachinePinCode() {
|
return this.machinePinCode;
|
}
|
|
public String getMachineShortCode() {
|
return this.machineShortCode;
|
}
|
|
public Integer getType() {
|
return this.type;
|
}
|
}
|