package com.qianwen.smartman.modules.fms.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
@ApiModel(value = "FmsInstructionRecord对象", description = "指令记录表")
|
@TableName("blade_fms_instruction_record")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/fms/entity/FmsInstructionRecord.class */
|
public class FmsInstructionRecord extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("所属租户")
|
private String tenantId;
|
@ApiModelProperty("工单号")
|
private String orderCode;
|
@ApiModelProperty("工序号")
|
private String processCode;
|
@ApiModelProperty("状态 0-已生成;1-执行中;2-执行完成;3-执行异常")
|
private Integer state;
|
@ApiModelProperty("起始位置 起始设备编号")
|
private String startPosition;
|
@ApiModelProperty("起始工作台编号")
|
private String startBench;
|
@ApiModelProperty("目标位置 目标设备编号")
|
private String endPosition;
|
@ApiModelProperty("目标工作台编号")
|
private String endBench;
|
@ApiModelProperty("托盘编号")
|
private String trayCode;
|
@ApiModelProperty("程序号")
|
private String programNo;
|
@ApiModelProperty("程序偏移")
|
private String programOffset;
|
@ApiModelProperty("信号状态 1-动作执行;2-数据传递")
|
private Integer signalState;
|
@ApiModelProperty("异常原因")
|
private String abnormalReason;
|
@ApiModelProperty("产生日志")
|
private String log;
|
@ApiModelProperty("是否装卸站末件")
|
private Boolean lastLoad;
|
@ApiModelProperty("停止标记(0:未停止,1:已停止)")
|
private Integer changeModel;
|
|
public FmsInstructionRecord setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
return this;
|
}
|
|
public FmsInstructionRecord setOrderCode(final String orderCode) {
|
this.orderCode = orderCode;
|
return this;
|
}
|
|
public FmsInstructionRecord setProcessCode(final String processCode) {
|
this.processCode = processCode;
|
return this;
|
}
|
|
public FmsInstructionRecord setState(final Integer state) {
|
this.state = state;
|
return this;
|
}
|
|
public FmsInstructionRecord setStartPosition(final String startPosition) {
|
this.startPosition = startPosition;
|
return this;
|
}
|
|
public FmsInstructionRecord setStartBench(final String startBench) {
|
this.startBench = startBench;
|
return this;
|
}
|
|
public FmsInstructionRecord setEndPosition(final String endPosition) {
|
this.endPosition = endPosition;
|
return this;
|
}
|
|
public FmsInstructionRecord setEndBench(final String endBench) {
|
this.endBench = endBench;
|
return this;
|
}
|
|
public FmsInstructionRecord setTrayCode(final String trayCode) {
|
this.trayCode = trayCode;
|
return this;
|
}
|
|
public FmsInstructionRecord setProgramNo(final String programNo) {
|
this.programNo = programNo;
|
return this;
|
}
|
|
public FmsInstructionRecord setProgramOffset(final String programOffset) {
|
this.programOffset = programOffset;
|
return this;
|
}
|
|
public FmsInstructionRecord setSignalState(final Integer signalState) {
|
this.signalState = signalState;
|
return this;
|
}
|
|
public FmsInstructionRecord setAbnormalReason(final String abnormalReason) {
|
this.abnormalReason = abnormalReason;
|
return this;
|
}
|
|
public FmsInstructionRecord setLog(final String log) {
|
this.log = log;
|
return this;
|
}
|
|
public FmsInstructionRecord setLastLoad(final Boolean lastLoad) {
|
this.lastLoad = lastLoad;
|
return this;
|
}
|
|
public FmsInstructionRecord setChangeModel(final Integer changeModel) {
|
this.changeModel = changeModel;
|
return this;
|
}
|
|
public String toString() {
|
return "FmsInstructionRecord(tenantId=" + getTenantId() + ", orderCode=" + getOrderCode() + ", processCode=" + getProcessCode() + ", state=" + getState() + ", startPosition=" + getStartPosition() + ", startBench=" + getStartBench() + ", endPosition=" + getEndPosition() + ", endBench=" + getEndBench() + ", trayCode=" + getTrayCode() + ", programNo=" + getProgramNo() + ", programOffset=" + getProgramOffset() + ", signalState=" + getSignalState() + ", abnormalReason=" + getAbnormalReason() + ", log=" + getLog() + ", lastLoad=" + getLastLoad() + ", changeModel=" + getChangeModel() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof FmsInstructionRecord) {
|
FmsInstructionRecord other = (FmsInstructionRecord) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
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$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$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();
|
return this$log == null ? other$log == null : this$log.equals(other$log);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof FmsInstructionRecord;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $state = getState();
|
int result2 = (result * 59) + ($state == null ? 43 : $state.hashCode());
|
Object $signalState = getSignalState();
|
int result3 = (result2 * 59) + ($signalState == null ? 43 : $signalState.hashCode());
|
Object $lastLoad = getLastLoad();
|
int result4 = (result3 * 59) + ($lastLoad == null ? 43 : $lastLoad.hashCode());
|
Object $changeModel = getChangeModel();
|
int result5 = (result4 * 59) + ($changeModel == null ? 43 : $changeModel.hashCode());
|
Object $tenantId = getTenantId();
|
int result6 = (result5 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $orderCode = getOrderCode();
|
int result7 = (result6 * 59) + ($orderCode == null ? 43 : $orderCode.hashCode());
|
Object $processCode = getProcessCode();
|
int result8 = (result7 * 59) + ($processCode == null ? 43 : $processCode.hashCode());
|
Object $startPosition = getStartPosition();
|
int result9 = (result8 * 59) + ($startPosition == null ? 43 : $startPosition.hashCode());
|
Object $startBench = getStartBench();
|
int result10 = (result9 * 59) + ($startBench == null ? 43 : $startBench.hashCode());
|
Object $endPosition = getEndPosition();
|
int result11 = (result10 * 59) + ($endPosition == null ? 43 : $endPosition.hashCode());
|
Object $endBench = getEndBench();
|
int result12 = (result11 * 59) + ($endBench == null ? 43 : $endBench.hashCode());
|
Object $trayCode = getTrayCode();
|
int result13 = (result12 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode());
|
Object $programNo = getProgramNo();
|
int result14 = (result13 * 59) + ($programNo == null ? 43 : $programNo.hashCode());
|
Object $programOffset = getProgramOffset();
|
int result15 = (result14 * 59) + ($programOffset == null ? 43 : $programOffset.hashCode());
|
Object $abnormalReason = getAbnormalReason();
|
int result16 = (result15 * 59) + ($abnormalReason == null ? 43 : $abnormalReason.hashCode());
|
Object $log = getLog();
|
return (result16 * 59) + ($log == null ? 43 : $log.hashCode());
|
}
|
|
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 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;
|
}
|
}
|