package com.qianwen.smartman.modules.trace.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.Date;
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.Size;
|
|
@ApiModel(value = "TraceFlowRecordVo对象", description = "工件流程记录")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/vo/TraceFlowRecordVO.class */
|
public class TraceFlowRecordVO implements Serializable {
|
@ApiModelProperty("备注")
|
@Size(max = 255, message = "备注长度不能超过255")
|
private String remark;
|
@Size(max = 10, message = "长度不能超过10")
|
private String tenantId;
|
@NotBlank(message = "工件编号不能为空")
|
@ApiModelProperty("工件编号")
|
@Size(max = 50, message = "工件编号长度不能超过50")
|
private String partNo;
|
@NotBlank(message = "流程编号不能为空")
|
@ApiModelProperty("流程编号")
|
@Size(max = 50, message = "流程编号长度不能超过50")
|
private String flowCode;
|
@NotBlank(message = "流程名称不能为空")
|
@ApiModelProperty("流程名称")
|
@Size(max = 50, message = "流程名称长度不能超过50")
|
private String flowDisplayName;
|
@ApiModelProperty("流程状态 1 完成 2 进行中")
|
private Integer flowState;
|
@ApiModelProperty("流程标签 1 质检合格 2 质检不合格")
|
private Integer flowTag;
|
@ApiModelProperty("流程设定ID")
|
private Long traceFlowSettingId;
|
@ApiModelProperty("工位id")
|
private Long workstationId;
|
@ApiModelProperty("工位编号")
|
@Size(max = 50, message = "工位编号长度不能超过50")
|
private String workstationCode;
|
@ApiModelProperty("工位名称")
|
@Size(max = 50, message = "工位名称长度不能超过50")
|
private String workstationName;
|
@ApiModelProperty("工作台id")
|
private Long workbenchId;
|
@ApiModelProperty("工作台名称")
|
@Size(max = 50, message = "工作台名称长度不能超过50")
|
private String workbenchName;
|
@ApiModelProperty("进入时间")
|
private Date entryTime;
|
@ApiModelProperty("离开时间")
|
private Date leftTime;
|
@ApiModelProperty("数据")
|
@Size(max = 65535, message = "数据长度不能超过65535")
|
private String extensionData;
|
@Size(max = 50, message = "长度不能超过50")
|
private String archiveTable;
|
private Long id;
|
private Integer status;
|
@ApiModelProperty("1 加工设备 2 其他设备")
|
private Integer machiningOrOther;
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public void setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public void setPartNo(final String partNo) {
|
this.partNo = partNo;
|
}
|
|
public void setFlowCode(final String flowCode) {
|
this.flowCode = flowCode;
|
}
|
|
public void setFlowDisplayName(final String flowDisplayName) {
|
this.flowDisplayName = flowDisplayName;
|
}
|
|
public void setFlowState(final Integer flowState) {
|
this.flowState = flowState;
|
}
|
|
public void setFlowTag(final Integer flowTag) {
|
this.flowTag = flowTag;
|
}
|
|
public void setTraceFlowSettingId(final Long traceFlowSettingId) {
|
this.traceFlowSettingId = traceFlowSettingId;
|
}
|
|
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 setEntryTime(final Date entryTime) {
|
this.entryTime = entryTime;
|
}
|
|
public void setLeftTime(final Date leftTime) {
|
this.leftTime = leftTime;
|
}
|
|
public void setExtensionData(final String extensionData) {
|
this.extensionData = extensionData;
|
}
|
|
public void setArchiveTable(final String archiveTable) {
|
this.archiveTable = archiveTable;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public void setMachiningOrOther(final Integer machiningOrOther) {
|
this.machiningOrOther = machiningOrOther;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TraceFlowRecordVO) {
|
TraceFlowRecordVO other = (TraceFlowRecordVO) o;
|
if (other.canEqual(this)) {
|
Object this$flowState = getFlowState();
|
Object other$flowState = other.getFlowState();
|
if (this$flowState == null) {
|
if (other$flowState != null) {
|
return false;
|
}
|
} else if (!this$flowState.equals(other$flowState)) {
|
return false;
|
}
|
Object this$flowTag = getFlowTag();
|
Object other$flowTag = other.getFlowTag();
|
if (this$flowTag == null) {
|
if (other$flowTag != null) {
|
return false;
|
}
|
} else if (!this$flowTag.equals(other$flowTag)) {
|
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$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$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$machiningOrOther = getMachiningOrOther();
|
Object other$machiningOrOther = other.getMachiningOrOther();
|
if (this$machiningOrOther == null) {
|
if (other$machiningOrOther != null) {
|
return false;
|
}
|
} else if (!this$machiningOrOther.equals(other$machiningOrOther)) {
|
return false;
|
}
|
Object this$remark = getRemark();
|
Object other$remark = other.getRemark();
|
if (this$remark == null) {
|
if (other$remark != null) {
|
return false;
|
}
|
} else if (!this$remark.equals(other$remark)) {
|
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$partNo = getPartNo();
|
Object other$partNo = other.getPartNo();
|
if (this$partNo == null) {
|
if (other$partNo != null) {
|
return false;
|
}
|
} else if (!this$partNo.equals(other$partNo)) {
|
return false;
|
}
|
Object this$flowCode = getFlowCode();
|
Object other$flowCode = other.getFlowCode();
|
if (this$flowCode == null) {
|
if (other$flowCode != null) {
|
return false;
|
}
|
} else if (!this$flowCode.equals(other$flowCode)) {
|
return false;
|
}
|
Object this$flowDisplayName = getFlowDisplayName();
|
Object other$flowDisplayName = other.getFlowDisplayName();
|
if (this$flowDisplayName == null) {
|
if (other$flowDisplayName != null) {
|
return false;
|
}
|
} else if (!this$flowDisplayName.equals(other$flowDisplayName)) {
|
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$entryTime = getEntryTime();
|
Object other$entryTime = other.getEntryTime();
|
if (this$entryTime == null) {
|
if (other$entryTime != null) {
|
return false;
|
}
|
} else if (!this$entryTime.equals(other$entryTime)) {
|
return false;
|
}
|
Object this$leftTime = getLeftTime();
|
Object other$leftTime = other.getLeftTime();
|
if (this$leftTime == null) {
|
if (other$leftTime != null) {
|
return false;
|
}
|
} else if (!this$leftTime.equals(other$leftTime)) {
|
return false;
|
}
|
Object this$extensionData = getExtensionData();
|
Object other$extensionData = other.getExtensionData();
|
if (this$extensionData == null) {
|
if (other$extensionData != null) {
|
return false;
|
}
|
} else if (!this$extensionData.equals(other$extensionData)) {
|
return false;
|
}
|
Object this$archiveTable = getArchiveTable();
|
Object other$archiveTable = other.getArchiveTable();
|
return this$archiveTable == null ? other$archiveTable == null : this$archiveTable.equals(other$archiveTable);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TraceFlowRecordVO;
|
}
|
|
public int hashCode() {
|
Object $flowState = getFlowState();
|
int result = (1 * 59) + ($flowState == null ? 43 : $flowState.hashCode());
|
Object $flowTag = getFlowTag();
|
int result2 = (result * 59) + ($flowTag == null ? 43 : $flowTag.hashCode());
|
Object $traceFlowSettingId = getTraceFlowSettingId();
|
int result3 = (result2 * 59) + ($traceFlowSettingId == null ? 43 : $traceFlowSettingId.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result4 = (result3 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $workbenchId = getWorkbenchId();
|
int result5 = (result4 * 59) + ($workbenchId == null ? 43 : $workbenchId.hashCode());
|
Object $id = getId();
|
int result6 = (result5 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $status = getStatus();
|
int result7 = (result6 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $machiningOrOther = getMachiningOrOther();
|
int result8 = (result7 * 59) + ($machiningOrOther == null ? 43 : $machiningOrOther.hashCode());
|
Object $remark = getRemark();
|
int result9 = (result8 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $tenantId = getTenantId();
|
int result10 = (result9 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $partNo = getPartNo();
|
int result11 = (result10 * 59) + ($partNo == null ? 43 : $partNo.hashCode());
|
Object $flowCode = getFlowCode();
|
int result12 = (result11 * 59) + ($flowCode == null ? 43 : $flowCode.hashCode());
|
Object $flowDisplayName = getFlowDisplayName();
|
int result13 = (result12 * 59) + ($flowDisplayName == null ? 43 : $flowDisplayName.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result14 = (result13 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result15 = (result14 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $workbenchName = getWorkbenchName();
|
int result16 = (result15 * 59) + ($workbenchName == null ? 43 : $workbenchName.hashCode());
|
Object $entryTime = getEntryTime();
|
int result17 = (result16 * 59) + ($entryTime == null ? 43 : $entryTime.hashCode());
|
Object $leftTime = getLeftTime();
|
int result18 = (result17 * 59) + ($leftTime == null ? 43 : $leftTime.hashCode());
|
Object $extensionData = getExtensionData();
|
int result19 = (result18 * 59) + ($extensionData == null ? 43 : $extensionData.hashCode());
|
Object $archiveTable = getArchiveTable();
|
return (result19 * 59) + ($archiveTable == null ? 43 : $archiveTable.hashCode());
|
}
|
|
public String toString() {
|
return "TraceFlowRecordVO(remark=" + getRemark() + ", tenantId=" + getTenantId() + ", partNo=" + getPartNo() + ", flowCode=" + getFlowCode() + ", flowDisplayName=" + getFlowDisplayName() + ", flowState=" + getFlowState() + ", flowTag=" + getFlowTag() + ", traceFlowSettingId=" + getTraceFlowSettingId() + ", workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", workbenchId=" + getWorkbenchId() + ", workbenchName=" + getWorkbenchName() + ", entryTime=" + getEntryTime() + ", leftTime=" + getLeftTime() + ", extensionData=" + getExtensionData() + ", archiveTable=" + getArchiveTable() + ", id=" + getId() + ", status=" + getStatus() + ", machiningOrOther=" + getMachiningOrOther() + ")";
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public String getPartNo() {
|
return this.partNo;
|
}
|
|
public String getFlowCode() {
|
return this.flowCode;
|
}
|
|
public String getFlowDisplayName() {
|
return this.flowDisplayName;
|
}
|
|
public Integer getFlowState() {
|
return this.flowState;
|
}
|
|
public Integer getFlowTag() {
|
return this.flowTag;
|
}
|
|
public Long getTraceFlowSettingId() {
|
return this.traceFlowSettingId;
|
}
|
|
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 Date getEntryTime() {
|
return this.entryTime;
|
}
|
|
public Date getLeftTime() {
|
return this.leftTime;
|
}
|
|
public String getExtensionData() {
|
return this.extensionData;
|
}
|
|
public String getArchiveTable() {
|
return this.archiveTable;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public Integer getMachiningOrOther() {
|
return this.machiningOrOther;
|
}
|
}
|