package com.qianwen.smartman.modules.cps.excel;
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/WorkstationImport.class */
|
public class WorkstationImport implements Serializable {
|
private static final long serialVersionUID = -8938927851683015090L;
|
@ApiModelProperty("工位编号")
|
private String code;
|
@ApiModelProperty("工位名称")
|
private String name;
|
@ApiModelProperty("工位类型:机器、人工")
|
private String typeName;
|
@ApiModelProperty("工位组名称")
|
private String groupName;
|
@ApiModelProperty("生产日历编码")
|
private String calendarCode;
|
@ApiModelProperty("机器编号")
|
private String machineCode;
|
@ApiModelProperty("机器名称")
|
private String machineName;
|
@ApiModelProperty("机器PIN码")
|
private String machinePinCode;
|
@ApiModelProperty("机器短编号")
|
private String machineShortCode;
|
@ExcelIgnore
|
private String failReason;
|
@ApiModelProperty("机器id")
|
private Long machineId;
|
@ApiModelProperty("关联设备方式, 0-选择设备 1-创建同名设备")
|
private Integer linkWay;
|
@ApiModelProperty("采集开关:0关/1开")
|
private Integer collectSwitch;
|
@ApiModelProperty("工位组id")
|
private Long groupId;
|
@ApiModelProperty("工位类型:空、机器、人工")
|
private Integer type;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/WorkstationImport$WorkstationImportBuilder.class */
|
public static class WorkstationImportBuilder {
|
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 String failReason;
|
private Long machineId;
|
private Integer linkWay;
|
private Integer collectSwitch;
|
private Long groupId;
|
private Integer type;
|
|
WorkstationImportBuilder() {
|
}
|
|
public WorkstationImportBuilder code(final String code) {
|
this.code = code;
|
return this;
|
}
|
|
public WorkstationImportBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public WorkstationImportBuilder typeName(final String typeName) {
|
this.typeName = typeName;
|
return this;
|
}
|
|
public WorkstationImportBuilder groupName(final String groupName) {
|
this.groupName = groupName;
|
return this;
|
}
|
|
public WorkstationImportBuilder calendarCode(final String calendarCode) {
|
this.calendarCode = calendarCode;
|
return this;
|
}
|
|
public WorkstationImportBuilder machineCode(final String machineCode) {
|
this.machineCode = machineCode;
|
return this;
|
}
|
|
public WorkstationImportBuilder machineName(final String machineName) {
|
this.machineName = machineName;
|
return this;
|
}
|
|
public WorkstationImportBuilder machinePinCode(final String machinePinCode) {
|
this.machinePinCode = machinePinCode;
|
return this;
|
}
|
|
public WorkstationImportBuilder machineShortCode(final String machineShortCode) {
|
this.machineShortCode = machineShortCode;
|
return this;
|
}
|
|
public WorkstationImportBuilder failReason(final String failReason) {
|
this.failReason = failReason;
|
return this;
|
}
|
|
public WorkstationImportBuilder machineId(final Long machineId) {
|
this.machineId = machineId;
|
return this;
|
}
|
|
public WorkstationImportBuilder linkWay(final Integer linkWay) {
|
this.linkWay = linkWay;
|
return this;
|
}
|
|
public WorkstationImportBuilder collectSwitch(final Integer collectSwitch) {
|
this.collectSwitch = collectSwitch;
|
return this;
|
}
|
|
public WorkstationImportBuilder groupId(final Long groupId) {
|
this.groupId = groupId;
|
return this;
|
}
|
|
public WorkstationImportBuilder type(final Integer type) {
|
this.type = type;
|
return this;
|
}
|
|
public WorkstationImport build() {
|
return new WorkstationImport(this.code, this.name, this.typeName, this.groupName, this.calendarCode, this.machineCode, this.machineName, this.machinePinCode, this.machineShortCode, this.failReason, this.machineId, this.linkWay, this.collectSwitch, this.groupId, this.type);
|
}
|
|
public String toString() {
|
return "WorkstationImport.WorkstationImportBuilder(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 + ", failReason=" + this.failReason + ", machineId=" + this.machineId + ", linkWay=" + this.linkWay + ", collectSwitch=" + this.collectSwitch + ", groupId=" + this.groupId + ", 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 setFailReason(final String failReason) {
|
this.failReason = failReason;
|
}
|
|
public void setMachineId(final Long machineId) {
|
this.machineId = machineId;
|
}
|
|
public void setLinkWay(final Integer linkWay) {
|
this.linkWay = linkWay;
|
}
|
|
public void setCollectSwitch(final Integer collectSwitch) {
|
this.collectSwitch = collectSwitch;
|
}
|
|
public void setGroupId(final Long groupId) {
|
this.groupId = groupId;
|
}
|
|
public void setType(final Integer type) {
|
this.type = type;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationImport) {
|
WorkstationImport other = (WorkstationImport) o;
|
if (other.canEqual(this)) {
|
Object this$machineId = getMachineId();
|
Object other$machineId = other.getMachineId();
|
if (this$machineId == null) {
|
if (other$machineId != null) {
|
return false;
|
}
|
} else if (!this$machineId.equals(other$machineId)) {
|
return false;
|
}
|
Object this$linkWay = getLinkWay();
|
Object other$linkWay = other.getLinkWay();
|
if (this$linkWay == null) {
|
if (other$linkWay != null) {
|
return false;
|
}
|
} else if (!this$linkWay.equals(other$linkWay)) {
|
return false;
|
}
|
Object this$collectSwitch = getCollectSwitch();
|
Object other$collectSwitch = other.getCollectSwitch();
|
if (this$collectSwitch == null) {
|
if (other$collectSwitch != null) {
|
return false;
|
}
|
} else if (!this$collectSwitch.equals(other$collectSwitch)) {
|
return false;
|
}
|
Object this$groupId = getGroupId();
|
Object other$groupId = other.getGroupId();
|
if (this$groupId == null) {
|
if (other$groupId != null) {
|
return false;
|
}
|
} else if (!this$groupId.equals(other$groupId)) {
|
return false;
|
}
|
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();
|
if (this$machineShortCode == null) {
|
if (other$machineShortCode != null) {
|
return false;
|
}
|
} else if (!this$machineShortCode.equals(other$machineShortCode)) {
|
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 WorkstationImport;
|
}
|
|
public int hashCode() {
|
Object $machineId = getMachineId();
|
int result = (1 * 59) + ($machineId == null ? 43 : $machineId.hashCode());
|
Object $linkWay = getLinkWay();
|
int result2 = (result * 59) + ($linkWay == null ? 43 : $linkWay.hashCode());
|
Object $collectSwitch = getCollectSwitch();
|
int result3 = (result2 * 59) + ($collectSwitch == null ? 43 : $collectSwitch.hashCode());
|
Object $groupId = getGroupId();
|
int result4 = (result3 * 59) + ($groupId == null ? 43 : $groupId.hashCode());
|
Object $type = getType();
|
int result5 = (result4 * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $code = getCode();
|
int result6 = (result5 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result7 = (result6 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $typeName = getTypeName();
|
int result8 = (result7 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
|
Object $groupName = getGroupName();
|
int result9 = (result8 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
|
Object $calendarCode = getCalendarCode();
|
int result10 = (result9 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
|
Object $machineCode = getMachineCode();
|
int result11 = (result10 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
|
Object $machineName = getMachineName();
|
int result12 = (result11 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
|
Object $machinePinCode = getMachinePinCode();
|
int result13 = (result12 * 59) + ($machinePinCode == null ? 43 : $machinePinCode.hashCode());
|
Object $machineShortCode = getMachineShortCode();
|
int result14 = (result13 * 59) + ($machineShortCode == null ? 43 : $machineShortCode.hashCode());
|
Object $failReason = getFailReason();
|
return (result14 * 59) + ($failReason == null ? 43 : $failReason.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationImport(code=" + getCode() + ", name=" + getName() + ", typeName=" + getTypeName() + ", groupName=" + getGroupName() + ", calendarCode=" + getCalendarCode() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machinePinCode=" + getMachinePinCode() + ", machineShortCode=" + getMachineShortCode() + ", failReason=" + getFailReason() + ", machineId=" + getMachineId() + ", linkWay=" + getLinkWay() + ", collectSwitch=" + getCollectSwitch() + ", groupId=" + getGroupId() + ", type=" + getType() + ")";
|
}
|
|
public static WorkstationImportBuilder builder() {
|
return new WorkstationImportBuilder();
|
}
|
|
public WorkstationImport(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 String failReason, final Long machineId, final Integer linkWay, final Integer collectSwitch, final Long groupId, 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.failReason = failReason;
|
this.machineId = machineId;
|
this.linkWay = linkWay;
|
this.collectSwitch = collectSwitch;
|
this.groupId = groupId;
|
this.type = type;
|
}
|
|
public WorkstationImport() {
|
}
|
|
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 String getFailReason() {
|
return this.failReason;
|
}
|
|
public Long getMachineId() {
|
return this.machineId;
|
}
|
|
public Integer getLinkWay() {
|
return this.linkWay;
|
}
|
|
public Integer getCollectSwitch() {
|
return this.collectSwitch;
|
}
|
|
public Long getGroupId() {
|
return this.groupId;
|
}
|
|
public Integer getType() {
|
return this.type;
|
}
|
}
|