package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class WorkMachineEasyVO implements Serializable { private static final long serialVersionUID = -4527372669185998888L; @ApiModelProperty("工位id") private Long workstationId; @ApiModelProperty("工位编号") private String workCode; @ApiModelProperty("工位名称") private String workName; @ApiModelProperty("机器名称") private Long machineId; private String machineCode; private String machineName; private String pinCode; private String shortCode; public void setWorkstationId(final Long workstationId) { this.workstationId = workstationId; } public void setWorkCode(final String workCode) { this.workCode = workCode; } public void setWorkName(final String workName) { this.workName = workName; } public void setMachineId(final Long machineId) { this.machineId = machineId; } public void setMachineCode(final String machineCode) { this.machineCode = machineCode; } public void setMachineName(final String machineName) { this.machineName = machineName; } public void setPinCode(final String pinCode) { this.pinCode = pinCode; } public void setShortCode(final String shortCode) { this.shortCode = shortCode; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkMachineEasyVO) { WorkMachineEasyVO other = (WorkMachineEasyVO) o; if (other.canEqual(this)) { Object this$workstationId = getWorkstationId(); Object other$workstationId = other.getWorkstationId(); if (this$workstationId == null) { if (other$workstationId != null) { return false; } } else if (!this$workstationId.equals(other$workstationId)) { return false; } 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$workCode = getWorkCode(); Object other$workCode = other.getWorkCode(); if (this$workCode == null) { if (other$workCode != null) { return false; } } else if (!this$workCode.equals(other$workCode)) { return false; } Object this$workName = getWorkName(); Object other$workName = other.getWorkName(); if (this$workName == null) { if (other$workName != null) { return false; } } else if (!this$workName.equals(other$workName)) { 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$pinCode = getPinCode(); Object other$pinCode = other.getPinCode(); if (this$pinCode == null) { if (other$pinCode != null) { return false; } } else if (!this$pinCode.equals(other$pinCode)) { return false; } Object this$shortCode = getShortCode(); Object other$shortCode = other.getShortCode(); return this$shortCode == null ? other$shortCode == null : this$shortCode.equals(other$shortCode); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkMachineEasyVO; } public int hashCode() { Object $workstationId = getWorkstationId(); int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $machineId = getMachineId(); int result2 = (result * 59) + ($machineId == null ? 43 : $machineId.hashCode()); Object $workCode = getWorkCode(); int result3 = (result2 * 59) + ($workCode == null ? 43 : $workCode.hashCode()); Object $workName = getWorkName(); int result4 = (result3 * 59) + ($workName == null ? 43 : $workName.hashCode()); Object $machineCode = getMachineCode(); int result5 = (result4 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode()); Object $machineName = getMachineName(); int result6 = (result5 * 59) + ($machineName == null ? 43 : $machineName.hashCode()); Object $pinCode = getPinCode(); int result7 = (result6 * 59) + ($pinCode == null ? 43 : $pinCode.hashCode()); Object $shortCode = getShortCode(); return (result7 * 59) + ($shortCode == null ? 43 : $shortCode.hashCode()); } public String toString() { return "WorkMachineEasyVO(workstationId=" + getWorkstationId() + ", workCode=" + getWorkCode() + ", workName=" + getWorkName() + ", machineId=" + getMachineId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", pinCode=" + getPinCode() + ", shortCode=" + getShortCode() + ")"; } public Long getWorkstationId() { return this.workstationId; } public String getWorkCode() { return this.workCode; } public String getWorkName() { return this.workName; } public Long getMachineId() { return this.machineId; } public String getMachineCode() { return this.machineCode; } public String getMachineName() { return this.machineName; } public String getPinCode() { return this.pinCode; } public String getShortCode() { return this.shortCode; } }