package com.qianwen.smartman.modules.fms.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import javax.validation.constraints.Size; @ApiModel(value = "FmsInstructionRecordVo对象", description = "指令记录表") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/fms/vo/FmsInstructionRecordVO.class */ public class FmsInstructionRecordVO implements Serializable { @ApiModelProperty("所属租户") @Size(max = 12, message = "所属租户长度不能超过12") private String tenantId; @ApiModelProperty("工单号") @Size(max = 64, message = "工单号长度不能超过64") private String orderCode; @ApiModelProperty("工序号") @Size(max = 64, message = "工序号长度不能超过64") private String processCode; @ApiModelProperty("状态 0-已生成;1-执行中;2-执行完成;3-执行异常") private Integer state; @ApiModelProperty("状态名称") private String stateName; @ApiModelProperty("起始位置 起始设备编号") @Size(max = 64, message = "起始位置 起始设备编号长度不能超过64") private String startPosition; @ApiModelProperty("起始工作台编号") @Size(max = 64, message = "起始工作台编号长度不能超过64") private String startBench; @ApiModelProperty("目标位置 目标设备编号") @Size(max = 64, message = "目标位置 目标设备编号长度不能超过64") private String endPosition; @ApiModelProperty("目标工作台编号") @Size(max = 64, message = "目标工作台编号长度不能超过64") private String endBench; @ApiModelProperty("托盘编号") @Size(max = 64, message = "托盘编号长度不能超过64") private String trayCode; @ApiModelProperty("程序号") @Size(max = 64, message = "程序号长度不能超过64") private String programNo; @ApiModelProperty("程序偏移") @Size(max = 64, message = "程序偏移长度不能超过64") private String programOffset; @ApiModelProperty("信号状态 1-动作执行;2-数据传递") private Integer signalState; @ApiModelProperty("异常原因") @Size(max = 256, message = "异常原因长度不能超过256") private String abnormalReason; @ApiModelProperty("产生日志") @Size(max = 65535, message = "产生日志长度不能超过65535") private String log; @ApiModelProperty("是否装卸站末件") private Boolean lastLoad; @ApiModelProperty("停止标记(0:未停止,1:已停止)") private Integer changeModel; @ApiModelProperty("主键") private Long id; @ApiModelProperty("状态") private Integer status; @ApiModelProperty("发送时间") private Date createTime; @ApiModelProperty("最后更新时间") private Date updateTime; public void setTenantId(final String tenantId) { this.tenantId = tenantId; } public void setOrderCode(final String orderCode) { this.orderCode = orderCode; } public void setProcessCode(final String processCode) { this.processCode = processCode; } public void setState(final Integer state) { this.state = state; } public void setStateName(final String stateName) { this.stateName = stateName; } public void setStartPosition(final String startPosition) { this.startPosition = startPosition; } public void setStartBench(final String startBench) { this.startBench = startBench; } public void setEndPosition(final String endPosition) { this.endPosition = endPosition; } public void setEndBench(final String endBench) { this.endBench = endBench; } public void setTrayCode(final String trayCode) { this.trayCode = trayCode; } public void setProgramNo(final String programNo) { this.programNo = programNo; } public void setProgramOffset(final String programOffset) { this.programOffset = programOffset; } public void setSignalState(final Integer signalState) { this.signalState = signalState; } public void setAbnormalReason(final String abnormalReason) { this.abnormalReason = abnormalReason; } public void setLog(final String log) { this.log = log; } public void setLastLoad(final Boolean lastLoad) { this.lastLoad = lastLoad; } public void setChangeModel(final Integer changeModel) { this.changeModel = changeModel; } public void setId(final Long id) { this.id = id; } public void setStatus(final Integer status) { this.status = status; } public void setCreateTime(final Date createTime) { this.createTime = createTime; } public void setUpdateTime(final Date updateTime) { this.updateTime = updateTime; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof FmsInstructionRecordVO) { FmsInstructionRecordVO other = (FmsInstructionRecordVO) o; if (other.canEqual(this)) { Object this$state = getState(); Object other$state = other.getState(); if (this$state == null) { if (other$state != null) { return false; } } else if (!this$state.equals(other$state)) { return false; } Object this$signalState = getSignalState(); Object other$signalState = other.getSignalState(); if (this$signalState == null) { if (other$signalState != null) { return false; } } else if (!this$signalState.equals(other$signalState)) { return false; } Object this$lastLoad = getLastLoad(); Object other$lastLoad = other.getLastLoad(); if (this$lastLoad == null) { if (other$lastLoad != null) { return false; } } else if (!this$lastLoad.equals(other$lastLoad)) { return false; } Object this$changeModel = getChangeModel(); Object other$changeModel = other.getChangeModel(); if (this$changeModel == null) { if (other$changeModel != null) { return false; } } else if (!this$changeModel.equals(other$changeModel)) { 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$status = getStatus(); Object other$status = other.getStatus(); if (this$status == null) { if (other$status != null) { return false; } } else if (!this$status.equals(other$status)) { return false; } Object this$tenantId = getTenantId(); Object other$tenantId = other.getTenantId(); if (this$tenantId == null) { if (other$tenantId != null) { return false; } } else if (!this$tenantId.equals(other$tenantId)) { return false; } Object this$orderCode = getOrderCode(); Object other$orderCode = other.getOrderCode(); if (this$orderCode == null) { if (other$orderCode != null) { return false; } } else if (!this$orderCode.equals(other$orderCode)) { return false; } Object this$processCode = getProcessCode(); Object other$processCode = other.getProcessCode(); if (this$processCode == null) { if (other$processCode != null) { return false; } } else if (!this$processCode.equals(other$processCode)) { return false; } Object this$stateName = getStateName(); Object other$stateName = other.getStateName(); if (this$stateName == null) { if (other$stateName != null) { return false; } } else if (!this$stateName.equals(other$stateName)) { return false; } Object this$startPosition = getStartPosition(); Object other$startPosition = other.getStartPosition(); if (this$startPosition == null) { if (other$startPosition != null) { return false; } } else if (!this$startPosition.equals(other$startPosition)) { return false; } Object this$startBench = getStartBench(); Object other$startBench = other.getStartBench(); if (this$startBench == null) { if (other$startBench != null) { return false; } } else if (!this$startBench.equals(other$startBench)) { return false; } Object this$endPosition = getEndPosition(); Object other$endPosition = other.getEndPosition(); if (this$endPosition == null) { if (other$endPosition != null) { return false; } } else if (!this$endPosition.equals(other$endPosition)) { return false; } Object this$endBench = getEndBench(); Object other$endBench = other.getEndBench(); if (this$endBench == null) { if (other$endBench != null) { return false; } } else if (!this$endBench.equals(other$endBench)) { 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$programNo = getProgramNo(); Object other$programNo = other.getProgramNo(); if (this$programNo == null) { if (other$programNo != null) { return false; } } else if (!this$programNo.equals(other$programNo)) { return false; } Object this$programOffset = getProgramOffset(); Object other$programOffset = other.getProgramOffset(); if (this$programOffset == null) { if (other$programOffset != null) { return false; } } else if (!this$programOffset.equals(other$programOffset)) { return false; } Object this$abnormalReason = getAbnormalReason(); Object other$abnormalReason = other.getAbnormalReason(); if (this$abnormalReason == null) { if (other$abnormalReason != null) { return false; } } else if (!this$abnormalReason.equals(other$abnormalReason)) { return false; } Object this$log = getLog(); Object other$log = other.getLog(); if (this$log == null) { if (other$log != null) { return false; } } else if (!this$log.equals(other$log)) { return false; } Object this$createTime = getCreateTime(); Object other$createTime = other.getCreateTime(); if (this$createTime == null) { if (other$createTime != null) { return false; } } else if (!this$createTime.equals(other$createTime)) { return false; } Object this$updateTime = getUpdateTime(); Object other$updateTime = other.getUpdateTime(); return this$updateTime == null ? other$updateTime == null : this$updateTime.equals(other$updateTime); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof FmsInstructionRecordVO; } public int hashCode() { Object $state = getState(); int result = (1 * 59) + ($state == null ? 43 : $state.hashCode()); Object $signalState = getSignalState(); int result2 = (result * 59) + ($signalState == null ? 43 : $signalState.hashCode()); Object $lastLoad = getLastLoad(); int result3 = (result2 * 59) + ($lastLoad == null ? 43 : $lastLoad.hashCode()); Object $changeModel = getChangeModel(); int result4 = (result3 * 59) + ($changeModel == null ? 43 : $changeModel.hashCode()); Object $id = getId(); int result5 = (result4 * 59) + ($id == null ? 43 : $id.hashCode()); Object $status = getStatus(); int result6 = (result5 * 59) + ($status == null ? 43 : $status.hashCode()); Object $tenantId = getTenantId(); int result7 = (result6 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode()); Object $orderCode = getOrderCode(); int result8 = (result7 * 59) + ($orderCode == null ? 43 : $orderCode.hashCode()); Object $processCode = getProcessCode(); int result9 = (result8 * 59) + ($processCode == null ? 43 : $processCode.hashCode()); Object $stateName = getStateName(); int result10 = (result9 * 59) + ($stateName == null ? 43 : $stateName.hashCode()); Object $startPosition = getStartPosition(); int result11 = (result10 * 59) + ($startPosition == null ? 43 : $startPosition.hashCode()); Object $startBench = getStartBench(); int result12 = (result11 * 59) + ($startBench == null ? 43 : $startBench.hashCode()); Object $endPosition = getEndPosition(); int result13 = (result12 * 59) + ($endPosition == null ? 43 : $endPosition.hashCode()); Object $endBench = getEndBench(); int result14 = (result13 * 59) + ($endBench == null ? 43 : $endBench.hashCode()); Object $trayCode = getTrayCode(); int result15 = (result14 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode()); Object $programNo = getProgramNo(); int result16 = (result15 * 59) + ($programNo == null ? 43 : $programNo.hashCode()); Object $programOffset = getProgramOffset(); int result17 = (result16 * 59) + ($programOffset == null ? 43 : $programOffset.hashCode()); Object $abnormalReason = getAbnormalReason(); int result18 = (result17 * 59) + ($abnormalReason == null ? 43 : $abnormalReason.hashCode()); Object $log = getLog(); int result19 = (result18 * 59) + ($log == null ? 43 : $log.hashCode()); Object $createTime = getCreateTime(); int result20 = (result19 * 59) + ($createTime == null ? 43 : $createTime.hashCode()); Object $updateTime = getUpdateTime(); return (result20 * 59) + ($updateTime == null ? 43 : $updateTime.hashCode()); } public String toString() { return "FmsInstructionRecordVO(tenantId=" + getTenantId() + ", orderCode=" + getOrderCode() + ", processCode=" + getProcessCode() + ", state=" + getState() + ", stateName=" + getStateName() + ", startPosition=" + getStartPosition() + ", startBench=" + getStartBench() + ", endPosition=" + getEndPosition() + ", endBench=" + getEndBench() + ", trayCode=" + getTrayCode() + ", programNo=" + getProgramNo() + ", programOffset=" + getProgramOffset() + ", signalState=" + getSignalState() + ", abnormalReason=" + getAbnormalReason() + ", log=" + getLog() + ", lastLoad=" + getLastLoad() + ", changeModel=" + getChangeModel() + ", id=" + getId() + ", status=" + getStatus() + ", createTime=" + getCreateTime() + ", updateTime=" + getUpdateTime() + ")"; } public String getTenantId() { return this.tenantId; } public String getOrderCode() { return this.orderCode; } public String getProcessCode() { return this.processCode; } public Integer getState() { return this.state; } public String getStateName() { return this.stateName; } public String getStartPosition() { return this.startPosition; } public String getStartBench() { return this.startBench; } public String getEndPosition() { return this.endPosition; } public String getEndBench() { return this.endBench; } public String getTrayCode() { return this.trayCode; } public String getProgramNo() { return this.programNo; } public String getProgramOffset() { return this.programOffset; } public Integer getSignalState() { return this.signalState; } public String getAbnormalReason() { return this.abnormalReason; } public String getLog() { return this.log; } public Boolean getLastLoad() { return this.lastLoad; } public Integer getChangeModel() { return this.changeModel; } public Long getId() { return this.id; } public Integer getStatus() { return this.status; } public Date getCreateTime() { return this.createTime; } public Date getUpdateTime() { return this.updateTime; } }