package com.qianwen.smartman.modules.fms.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Date;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
@ApiModel(value = "FmsRealTimeTray对象", description = "托盘实时数据表")
|
@TableName("blade_fms_real_time_tray")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/fms/entity/FmsRealTimeTray.class */
|
public class FmsRealTimeTray extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("所属租户")
|
private String tenantId;
|
@ApiModelProperty("托盘号")
|
private String trayCode;
|
@ApiModelProperty("夹具id")
|
private Long fixtureId;
|
@ApiModelProperty("当前位置")
|
private String currentPosition;
|
@ApiModelProperty("当前工作台 1,2")
|
private String currentStation;
|
@ApiModelProperty("当前位置类型(1:库位,2:设备)")
|
private Integer currentType;
|
@ApiModelProperty("目标位置")
|
private String targetPosition;
|
@ApiModelProperty("目标工作台 1,2")
|
private String targetStation;
|
@ApiModelProperty("1-满托;2-空托")
|
private Integer trayState;
|
@ApiModelProperty("调度状态 1-将要去;2-到达")
|
private Integer scheState;
|
@ApiModelProperty("到达时间 异常不更新")
|
private Date arriveTime;
|
@ApiModelProperty("工单ID")
|
private Long orderId;
|
@ApiModelProperty("工单号")
|
private String orderCode;
|
@ApiModelProperty("工单工序ID")
|
private Long orderProcessId;
|
@ApiModelProperty("工序号")
|
private String processCode;
|
@ApiModelProperty("程序号")
|
private String programNo;
|
@ApiModelProperty("程序偏移")
|
private String programOffset;
|
@ApiModelProperty("将要去的工单ID")
|
private Long willOrderId;
|
@ApiModelProperty("将要去的工单")
|
private String willOrderCode;
|
@ApiModelProperty("将要去的工单工序ID")
|
private Long willOrderProcessId;
|
@ApiModelProperty("将要去的工序")
|
private String willProcessCode;
|
@ApiModelProperty("将要去的程序号")
|
private String willProgramNo;
|
@ApiModelProperty("将要去的程序偏移")
|
private String willProgramOffset;
|
@ApiModelProperty("产品状态 1-待加工,2-加工中,3-加工完成,4-半成品,5-不合格品")
|
private Integer partType;
|
@ApiModelProperty("状态改变时间")
|
private Date partTypeTime;
|
@ApiModelProperty("当前工件号")
|
private Long componentsNumber;
|
@ApiModelProperty("上一次装料完成时间")
|
private Date lastLoadCompleteTime;
|
@ApiModelProperty("上一次加工完成时间")
|
private Date lastCncCompleteTime;
|
|
public FmsRealTimeTray setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
return this;
|
}
|
|
public FmsRealTimeTray setTrayCode(final String trayCode) {
|
this.trayCode = trayCode;
|
return this;
|
}
|
|
public FmsRealTimeTray setFixtureId(final Long fixtureId) {
|
this.fixtureId = fixtureId;
|
return this;
|
}
|
|
public FmsRealTimeTray setCurrentPosition(final String currentPosition) {
|
this.currentPosition = currentPosition;
|
return this;
|
}
|
|
public FmsRealTimeTray setCurrentStation(final String currentStation) {
|
this.currentStation = currentStation;
|
return this;
|
}
|
|
public FmsRealTimeTray setCurrentType(final Integer currentType) {
|
this.currentType = currentType;
|
return this;
|
}
|
|
public FmsRealTimeTray setTargetPosition(final String targetPosition) {
|
this.targetPosition = targetPosition;
|
return this;
|
}
|
|
public FmsRealTimeTray setTargetStation(final String targetStation) {
|
this.targetStation = targetStation;
|
return this;
|
}
|
|
public FmsRealTimeTray setTrayState(final Integer trayState) {
|
this.trayState = trayState;
|
return this;
|
}
|
|
public FmsRealTimeTray setScheState(final Integer scheState) {
|
this.scheState = scheState;
|
return this;
|
}
|
|
public FmsRealTimeTray setArriveTime(final Date arriveTime) {
|
this.arriveTime = arriveTime;
|
return this;
|
}
|
|
public FmsRealTimeTray setOrderId(final Long orderId) {
|
this.orderId = orderId;
|
return this;
|
}
|
|
public FmsRealTimeTray setOrderCode(final String orderCode) {
|
this.orderCode = orderCode;
|
return this;
|
}
|
|
public FmsRealTimeTray setOrderProcessId(final Long orderProcessId) {
|
this.orderProcessId = orderProcessId;
|
return this;
|
}
|
|
public FmsRealTimeTray setProcessCode(final String processCode) {
|
this.processCode = processCode;
|
return this;
|
}
|
|
public FmsRealTimeTray setProgramNo(final String programNo) {
|
this.programNo = programNo;
|
return this;
|
}
|
|
public FmsRealTimeTray setProgramOffset(final String programOffset) {
|
this.programOffset = programOffset;
|
return this;
|
}
|
|
public FmsRealTimeTray setWillOrderId(final Long willOrderId) {
|
this.willOrderId = willOrderId;
|
return this;
|
}
|
|
public FmsRealTimeTray setWillOrderCode(final String willOrderCode) {
|
this.willOrderCode = willOrderCode;
|
return this;
|
}
|
|
public FmsRealTimeTray setWillOrderProcessId(final Long willOrderProcessId) {
|
this.willOrderProcessId = willOrderProcessId;
|
return this;
|
}
|
|
public FmsRealTimeTray setWillProcessCode(final String willProcessCode) {
|
this.willProcessCode = willProcessCode;
|
return this;
|
}
|
|
public FmsRealTimeTray setWillProgramNo(final String willProgramNo) {
|
this.willProgramNo = willProgramNo;
|
return this;
|
}
|
|
public FmsRealTimeTray setWillProgramOffset(final String willProgramOffset) {
|
this.willProgramOffset = willProgramOffset;
|
return this;
|
}
|
|
public FmsRealTimeTray setPartType(final Integer partType) {
|
this.partType = partType;
|
return this;
|
}
|
|
public FmsRealTimeTray setPartTypeTime(final Date partTypeTime) {
|
this.partTypeTime = partTypeTime;
|
return this;
|
}
|
|
public FmsRealTimeTray setComponentsNumber(final Long componentsNumber) {
|
this.componentsNumber = componentsNumber;
|
return this;
|
}
|
|
public FmsRealTimeTray setLastLoadCompleteTime(final Date lastLoadCompleteTime) {
|
this.lastLoadCompleteTime = lastLoadCompleteTime;
|
return this;
|
}
|
|
public FmsRealTimeTray setLastCncCompleteTime(final Date lastCncCompleteTime) {
|
this.lastCncCompleteTime = lastCncCompleteTime;
|
return this;
|
}
|
|
public String toString() {
|
return "FmsRealTimeTray(tenantId=" + getTenantId() + ", trayCode=" + getTrayCode() + ", fixtureId=" + getFixtureId() + ", currentPosition=" + getCurrentPosition() + ", currentStation=" + getCurrentStation() + ", currentType=" + getCurrentType() + ", targetPosition=" + getTargetPosition() + ", targetStation=" + getTargetStation() + ", trayState=" + getTrayState() + ", scheState=" + getScheState() + ", arriveTime=" + getArriveTime() + ", orderId=" + getOrderId() + ", orderCode=" + getOrderCode() + ", orderProcessId=" + getOrderProcessId() + ", processCode=" + getProcessCode() + ", programNo=" + getProgramNo() + ", programOffset=" + getProgramOffset() + ", willOrderId=" + getWillOrderId() + ", willOrderCode=" + getWillOrderCode() + ", willOrderProcessId=" + getWillOrderProcessId() + ", willProcessCode=" + getWillProcessCode() + ", willProgramNo=" + getWillProgramNo() + ", willProgramOffset=" + getWillProgramOffset() + ", partType=" + getPartType() + ", partTypeTime=" + getPartTypeTime() + ", componentsNumber=" + getComponentsNumber() + ", lastLoadCompleteTime=" + getLastLoadCompleteTime() + ", lastCncCompleteTime=" + getLastCncCompleteTime() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof FmsRealTimeTray) {
|
FmsRealTimeTray other = (FmsRealTimeTray) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$fixtureId = getFixtureId();
|
Object other$fixtureId = other.getFixtureId();
|
if (this$fixtureId == null) {
|
if (other$fixtureId != null) {
|
return false;
|
}
|
} else if (!this$fixtureId.equals(other$fixtureId)) {
|
return false;
|
}
|
Object this$currentType = getCurrentType();
|
Object other$currentType = other.getCurrentType();
|
if (this$currentType == null) {
|
if (other$currentType != null) {
|
return false;
|
}
|
} else if (!this$currentType.equals(other$currentType)) {
|
return false;
|
}
|
Object this$trayState = getTrayState();
|
Object other$trayState = other.getTrayState();
|
if (this$trayState == null) {
|
if (other$trayState != null) {
|
return false;
|
}
|
} else if (!this$trayState.equals(other$trayState)) {
|
return false;
|
}
|
Object this$scheState = getScheState();
|
Object other$scheState = other.getScheState();
|
if (this$scheState == null) {
|
if (other$scheState != null) {
|
return false;
|
}
|
} else if (!this$scheState.equals(other$scheState)) {
|
return false;
|
}
|
Object this$orderId = getOrderId();
|
Object other$orderId = other.getOrderId();
|
if (this$orderId == null) {
|
if (other$orderId != null) {
|
return false;
|
}
|
} else if (!this$orderId.equals(other$orderId)) {
|
return false;
|
}
|
Object this$orderProcessId = getOrderProcessId();
|
Object other$orderProcessId = other.getOrderProcessId();
|
if (this$orderProcessId == null) {
|
if (other$orderProcessId != null) {
|
return false;
|
}
|
} else if (!this$orderProcessId.equals(other$orderProcessId)) {
|
return false;
|
}
|
Object this$willOrderId = getWillOrderId();
|
Object other$willOrderId = other.getWillOrderId();
|
if (this$willOrderId == null) {
|
if (other$willOrderId != null) {
|
return false;
|
}
|
} else if (!this$willOrderId.equals(other$willOrderId)) {
|
return false;
|
}
|
Object this$willOrderProcessId = getWillOrderProcessId();
|
Object other$willOrderProcessId = other.getWillOrderProcessId();
|
if (this$willOrderProcessId == null) {
|
if (other$willOrderProcessId != null) {
|
return false;
|
}
|
} else if (!this$willOrderProcessId.equals(other$willOrderProcessId)) {
|
return false;
|
}
|
Object this$partType = getPartType();
|
Object other$partType = other.getPartType();
|
if (this$partType == null) {
|
if (other$partType != null) {
|
return false;
|
}
|
} else if (!this$partType.equals(other$partType)) {
|
return false;
|
}
|
Object this$componentsNumber = getComponentsNumber();
|
Object other$componentsNumber = other.getComponentsNumber();
|
if (this$componentsNumber == null) {
|
if (other$componentsNumber != null) {
|
return false;
|
}
|
} else if (!this$componentsNumber.equals(other$componentsNumber)) {
|
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$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$currentPosition = getCurrentPosition();
|
Object other$currentPosition = other.getCurrentPosition();
|
if (this$currentPosition == null) {
|
if (other$currentPosition != null) {
|
return false;
|
}
|
} else if (!this$currentPosition.equals(other$currentPosition)) {
|
return false;
|
}
|
Object this$currentStation = getCurrentStation();
|
Object other$currentStation = other.getCurrentStation();
|
if (this$currentStation == null) {
|
if (other$currentStation != null) {
|
return false;
|
}
|
} else if (!this$currentStation.equals(other$currentStation)) {
|
return false;
|
}
|
Object this$targetPosition = getTargetPosition();
|
Object other$targetPosition = other.getTargetPosition();
|
if (this$targetPosition == null) {
|
if (other$targetPosition != null) {
|
return false;
|
}
|
} else if (!this$targetPosition.equals(other$targetPosition)) {
|
return false;
|
}
|
Object this$targetStation = getTargetStation();
|
Object other$targetStation = other.getTargetStation();
|
if (this$targetStation == null) {
|
if (other$targetStation != null) {
|
return false;
|
}
|
} else if (!this$targetStation.equals(other$targetStation)) {
|
return false;
|
}
|
Object this$arriveTime = getArriveTime();
|
Object other$arriveTime = other.getArriveTime();
|
if (this$arriveTime == null) {
|
if (other$arriveTime != null) {
|
return false;
|
}
|
} else if (!this$arriveTime.equals(other$arriveTime)) {
|
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$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$willOrderCode = getWillOrderCode();
|
Object other$willOrderCode = other.getWillOrderCode();
|
if (this$willOrderCode == null) {
|
if (other$willOrderCode != null) {
|
return false;
|
}
|
} else if (!this$willOrderCode.equals(other$willOrderCode)) {
|
return false;
|
}
|
Object this$willProcessCode = getWillProcessCode();
|
Object other$willProcessCode = other.getWillProcessCode();
|
if (this$willProcessCode == null) {
|
if (other$willProcessCode != null) {
|
return false;
|
}
|
} else if (!this$willProcessCode.equals(other$willProcessCode)) {
|
return false;
|
}
|
Object this$willProgramNo = getWillProgramNo();
|
Object other$willProgramNo = other.getWillProgramNo();
|
if (this$willProgramNo == null) {
|
if (other$willProgramNo != null) {
|
return false;
|
}
|
} else if (!this$willProgramNo.equals(other$willProgramNo)) {
|
return false;
|
}
|
Object this$willProgramOffset = getWillProgramOffset();
|
Object other$willProgramOffset = other.getWillProgramOffset();
|
if (this$willProgramOffset == null) {
|
if (other$willProgramOffset != null) {
|
return false;
|
}
|
} else if (!this$willProgramOffset.equals(other$willProgramOffset)) {
|
return false;
|
}
|
Object this$partTypeTime = getPartTypeTime();
|
Object other$partTypeTime = other.getPartTypeTime();
|
if (this$partTypeTime == null) {
|
if (other$partTypeTime != null) {
|
return false;
|
}
|
} else if (!this$partTypeTime.equals(other$partTypeTime)) {
|
return false;
|
}
|
Object this$lastLoadCompleteTime = getLastLoadCompleteTime();
|
Object other$lastLoadCompleteTime = other.getLastLoadCompleteTime();
|
if (this$lastLoadCompleteTime == null) {
|
if (other$lastLoadCompleteTime != null) {
|
return false;
|
}
|
} else if (!this$lastLoadCompleteTime.equals(other$lastLoadCompleteTime)) {
|
return false;
|
}
|
Object this$lastCncCompleteTime = getLastCncCompleteTime();
|
Object other$lastCncCompleteTime = other.getLastCncCompleteTime();
|
return this$lastCncCompleteTime == null ? other$lastCncCompleteTime == null : this$lastCncCompleteTime.equals(other$lastCncCompleteTime);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof FmsRealTimeTray;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $fixtureId = getFixtureId();
|
int result2 = (result * 59) + ($fixtureId == null ? 43 : $fixtureId.hashCode());
|
Object $currentType = getCurrentType();
|
int result3 = (result2 * 59) + ($currentType == null ? 43 : $currentType.hashCode());
|
Object $trayState = getTrayState();
|
int result4 = (result3 * 59) + ($trayState == null ? 43 : $trayState.hashCode());
|
Object $scheState = getScheState();
|
int result5 = (result4 * 59) + ($scheState == null ? 43 : $scheState.hashCode());
|
Object $orderId = getOrderId();
|
int result6 = (result5 * 59) + ($orderId == null ? 43 : $orderId.hashCode());
|
Object $orderProcessId = getOrderProcessId();
|
int result7 = (result6 * 59) + ($orderProcessId == null ? 43 : $orderProcessId.hashCode());
|
Object $willOrderId = getWillOrderId();
|
int result8 = (result7 * 59) + ($willOrderId == null ? 43 : $willOrderId.hashCode());
|
Object $willOrderProcessId = getWillOrderProcessId();
|
int result9 = (result8 * 59) + ($willOrderProcessId == null ? 43 : $willOrderProcessId.hashCode());
|
Object $partType = getPartType();
|
int result10 = (result9 * 59) + ($partType == null ? 43 : $partType.hashCode());
|
Object $componentsNumber = getComponentsNumber();
|
int result11 = (result10 * 59) + ($componentsNumber == null ? 43 : $componentsNumber.hashCode());
|
Object $tenantId = getTenantId();
|
int result12 = (result11 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $trayCode = getTrayCode();
|
int result13 = (result12 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode());
|
Object $currentPosition = getCurrentPosition();
|
int result14 = (result13 * 59) + ($currentPosition == null ? 43 : $currentPosition.hashCode());
|
Object $currentStation = getCurrentStation();
|
int result15 = (result14 * 59) + ($currentStation == null ? 43 : $currentStation.hashCode());
|
Object $targetPosition = getTargetPosition();
|
int result16 = (result15 * 59) + ($targetPosition == null ? 43 : $targetPosition.hashCode());
|
Object $targetStation = getTargetStation();
|
int result17 = (result16 * 59) + ($targetStation == null ? 43 : $targetStation.hashCode());
|
Object $arriveTime = getArriveTime();
|
int result18 = (result17 * 59) + ($arriveTime == null ? 43 : $arriveTime.hashCode());
|
Object $orderCode = getOrderCode();
|
int result19 = (result18 * 59) + ($orderCode == null ? 43 : $orderCode.hashCode());
|
Object $processCode = getProcessCode();
|
int result20 = (result19 * 59) + ($processCode == null ? 43 : $processCode.hashCode());
|
Object $programNo = getProgramNo();
|
int result21 = (result20 * 59) + ($programNo == null ? 43 : $programNo.hashCode());
|
Object $programOffset = getProgramOffset();
|
int result22 = (result21 * 59) + ($programOffset == null ? 43 : $programOffset.hashCode());
|
Object $willOrderCode = getWillOrderCode();
|
int result23 = (result22 * 59) + ($willOrderCode == null ? 43 : $willOrderCode.hashCode());
|
Object $willProcessCode = getWillProcessCode();
|
int result24 = (result23 * 59) + ($willProcessCode == null ? 43 : $willProcessCode.hashCode());
|
Object $willProgramNo = getWillProgramNo();
|
int result25 = (result24 * 59) + ($willProgramNo == null ? 43 : $willProgramNo.hashCode());
|
Object $willProgramOffset = getWillProgramOffset();
|
int result26 = (result25 * 59) + ($willProgramOffset == null ? 43 : $willProgramOffset.hashCode());
|
Object $partTypeTime = getPartTypeTime();
|
int result27 = (result26 * 59) + ($partTypeTime == null ? 43 : $partTypeTime.hashCode());
|
Object $lastLoadCompleteTime = getLastLoadCompleteTime();
|
int result28 = (result27 * 59) + ($lastLoadCompleteTime == null ? 43 : $lastLoadCompleteTime.hashCode());
|
Object $lastCncCompleteTime = getLastCncCompleteTime();
|
return (result28 * 59) + ($lastCncCompleteTime == null ? 43 : $lastCncCompleteTime.hashCode());
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public String getTrayCode() {
|
return this.trayCode;
|
}
|
|
public Long getFixtureId() {
|
return this.fixtureId;
|
}
|
|
public String getCurrentPosition() {
|
return this.currentPosition;
|
}
|
|
public String getCurrentStation() {
|
return this.currentStation;
|
}
|
|
public Integer getCurrentType() {
|
return this.currentType;
|
}
|
|
public String getTargetPosition() {
|
return this.targetPosition;
|
}
|
|
public String getTargetStation() {
|
return this.targetStation;
|
}
|
|
public Integer getTrayState() {
|
return this.trayState;
|
}
|
|
public Integer getScheState() {
|
return this.scheState;
|
}
|
|
public Date getArriveTime() {
|
return this.arriveTime;
|
}
|
|
public Long getOrderId() {
|
return this.orderId;
|
}
|
|
public String getOrderCode() {
|
return this.orderCode;
|
}
|
|
public Long getOrderProcessId() {
|
return this.orderProcessId;
|
}
|
|
public String getProcessCode() {
|
return this.processCode;
|
}
|
|
public String getProgramNo() {
|
return this.programNo;
|
}
|
|
public String getProgramOffset() {
|
return this.programOffset;
|
}
|
|
public Long getWillOrderId() {
|
return this.willOrderId;
|
}
|
|
public String getWillOrderCode() {
|
return this.willOrderCode;
|
}
|
|
public Long getWillOrderProcessId() {
|
return this.willOrderProcessId;
|
}
|
|
public String getWillProcessCode() {
|
return this.willProcessCode;
|
}
|
|
public String getWillProgramNo() {
|
return this.willProgramNo;
|
}
|
|
public String getWillProgramOffset() {
|
return this.willProgramOffset;
|
}
|
|
public Integer getPartType() {
|
return this.partType;
|
}
|
|
public Date getPartTypeTime() {
|
return this.partTypeTime;
|
}
|
|
public Long getComponentsNumber() {
|
return this.componentsNumber;
|
}
|
|
public Date getLastLoadCompleteTime() {
|
return this.lastLoadCompleteTime;
|
}
|
|
public Date getLastCncCompleteTime() {
|
return this.lastCncCompleteTime;
|
}
|
}
|