package com.qianwen.smartman.modules.trace.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import javax.validation.constraints.NotNull; @ApiModel(value = "TraceRelatedWorkstationVo对象", description = "追溯关联工位") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/vo/TraceRelatedWorkstationVO.class */ public class TraceRelatedWorkstationVO implements Serializable { @NotNull(message = "工位id不能为空") @ApiModelProperty(value = "工位id", dataType = "java.lang.String") private Long workstationId; @ApiModelProperty("工位编码") private String workstationCode; @ApiModelProperty("工位名称") private String workstationName; @NotNull(message = "工作台id不能为空") @ApiModelProperty(value = "工作台id", dataType = "java.lang.String") private Long workbenchId; @ApiModelProperty("工位台名称") private String workbenchName; @NotNull(message = "流程设定id不能为空") @ApiModelProperty(value = "流程设定ID", dataType = "java.lang.String") private Long traceFlowSettingId; @ApiModelProperty("加工位置") private String machiningPosition; @ApiModelProperty(value = "主键", dataType = "java.lang.String") private Long id; public void setWorkstationId(final Long workstationId) { this.workstationId = workstationId; } public void setWorkstationCode(final String workstationCode) { this.workstationCode = workstationCode; } public void setWorkstationName(final String workstationName) { this.workstationName = workstationName; } public void setWorkbenchId(final Long workbenchId) { this.workbenchId = workbenchId; } public void setWorkbenchName(final String workbenchName) { this.workbenchName = workbenchName; } public void setTraceFlowSettingId(final Long traceFlowSettingId) { this.traceFlowSettingId = traceFlowSettingId; } public void setMachiningPosition(final String machiningPosition) { this.machiningPosition = machiningPosition; } public void setId(final Long id) { this.id = id; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof TraceRelatedWorkstationVO) { TraceRelatedWorkstationVO other = (TraceRelatedWorkstationVO) 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$workbenchId = getWorkbenchId(); Object other$workbenchId = other.getWorkbenchId(); if (this$workbenchId == null) { if (other$workbenchId != null) { return false; } } else if (!this$workbenchId.equals(other$workbenchId)) { return false; } Object this$traceFlowSettingId = getTraceFlowSettingId(); Object other$traceFlowSettingId = other.getTraceFlowSettingId(); if (this$traceFlowSettingId == null) { if (other$traceFlowSettingId != null) { return false; } } else if (!this$traceFlowSettingId.equals(other$traceFlowSettingId)) { return false; } Object this$id = getId(); Object other$id = other.getId(); if (this$id == null) { if (other$id != null) { return false; } } else if (!this$id.equals(other$id)) { return false; } Object this$workstationCode = getWorkstationCode(); Object other$workstationCode = other.getWorkstationCode(); if (this$workstationCode == null) { if (other$workstationCode != null) { return false; } } else if (!this$workstationCode.equals(other$workstationCode)) { return false; } Object this$workstationName = getWorkstationName(); Object other$workstationName = other.getWorkstationName(); if (this$workstationName == null) { if (other$workstationName != null) { return false; } } else if (!this$workstationName.equals(other$workstationName)) { return false; } Object this$workbenchName = getWorkbenchName(); Object other$workbenchName = other.getWorkbenchName(); if (this$workbenchName == null) { if (other$workbenchName != null) { return false; } } else if (!this$workbenchName.equals(other$workbenchName)) { return false; } Object this$machiningPosition = getMachiningPosition(); Object other$machiningPosition = other.getMachiningPosition(); return this$machiningPosition == null ? other$machiningPosition == null : this$machiningPosition.equals(other$machiningPosition); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof TraceRelatedWorkstationVO; } public int hashCode() { Object $workstationId = getWorkstationId(); int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $workbenchId = getWorkbenchId(); int result2 = (result * 59) + ($workbenchId == null ? 43 : $workbenchId.hashCode()); Object $traceFlowSettingId = getTraceFlowSettingId(); int result3 = (result2 * 59) + ($traceFlowSettingId == null ? 43 : $traceFlowSettingId.hashCode()); Object $id = getId(); int result4 = (result3 * 59) + ($id == null ? 43 : $id.hashCode()); Object $workstationCode = getWorkstationCode(); int result5 = (result4 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode()); Object $workstationName = getWorkstationName(); int result6 = (result5 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode()); Object $workbenchName = getWorkbenchName(); int result7 = (result6 * 59) + ($workbenchName == null ? 43 : $workbenchName.hashCode()); Object $machiningPosition = getMachiningPosition(); return (result7 * 59) + ($machiningPosition == null ? 43 : $machiningPosition.hashCode()); } public String toString() { return "TraceRelatedWorkstationVO(workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", workbenchId=" + getWorkbenchId() + ", workbenchName=" + getWorkbenchName() + ", traceFlowSettingId=" + getTraceFlowSettingId() + ", machiningPosition=" + getMachiningPosition() + ", id=" + getId() + ")"; } public Long getWorkstationId() { return this.workstationId; } public String getWorkstationCode() { return this.workstationCode; } public String getWorkstationName() { return this.workstationName; } public Long getWorkbenchId() { return this.workbenchId; } public String getWorkbenchName() { return this.workbenchName; } public Long getTraceFlowSettingId() { return this.traceFlowSettingId; } public String getMachiningPosition() { return this.machiningPosition; } public Long getId() { return this.id; } }