package com.qianwen.smartman.modules.trace.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/vo/TraceCatalogAndFlowRecordVO.class */
|
public class TraceCatalogAndFlowRecordVO implements Serializable {
|
@ApiModelProperty("工件编号")
|
private String partNo;
|
@ApiModelProperty("批次号")
|
private String batchNumber;
|
@ApiModelProperty("上线时间")
|
private Date onlineTime;
|
@ApiModelProperty("下线时间")
|
private Date offlineTime;
|
@ApiModelProperty("是否合格:0 否 1 是")
|
private Integer qualified;
|
@ApiModelProperty("是否返工:0 否 1 是")
|
private Integer isReworkPart;
|
@ApiModelProperty("班次下标")
|
private Integer shiftIndex;
|
@ApiModelProperty("班次下标别名")
|
private String shiftIndexName;
|
@ApiModelProperty("流程记录")
|
private List<TraceFlowRecordVO> flowRecordVOS;
|
|
public TraceCatalogAndFlowRecordVO setPartNo(final String partNo) {
|
this.partNo = partNo;
|
return this;
|
}
|
|
public TraceCatalogAndFlowRecordVO setBatchNumber(final String batchNumber) {
|
this.batchNumber = batchNumber;
|
return this;
|
}
|
|
public TraceCatalogAndFlowRecordVO setOnlineTime(final Date onlineTime) {
|
this.onlineTime = onlineTime;
|
return this;
|
}
|
|
public TraceCatalogAndFlowRecordVO setOfflineTime(final Date offlineTime) {
|
this.offlineTime = offlineTime;
|
return this;
|
}
|
|
public TraceCatalogAndFlowRecordVO setQualified(final Integer qualified) {
|
this.qualified = qualified;
|
return this;
|
}
|
|
public TraceCatalogAndFlowRecordVO setIsReworkPart(final Integer isReworkPart) {
|
this.isReworkPart = isReworkPart;
|
return this;
|
}
|
|
public TraceCatalogAndFlowRecordVO setShiftIndex(final Integer shiftIndex) {
|
this.shiftIndex = shiftIndex;
|
return this;
|
}
|
|
public TraceCatalogAndFlowRecordVO setShiftIndexName(final String shiftIndexName) {
|
this.shiftIndexName = shiftIndexName;
|
return this;
|
}
|
|
public TraceCatalogAndFlowRecordVO setFlowRecordVOS(final List<TraceFlowRecordVO> flowRecordVOS) {
|
this.flowRecordVOS = flowRecordVOS;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TraceCatalogAndFlowRecordVO) {
|
TraceCatalogAndFlowRecordVO other = (TraceCatalogAndFlowRecordVO) o;
|
if (other.canEqual(this)) {
|
Object this$qualified = getQualified();
|
Object other$qualified = other.getQualified();
|
if (this$qualified == null) {
|
if (other$qualified != null) {
|
return false;
|
}
|
} else if (!this$qualified.equals(other$qualified)) {
|
return false;
|
}
|
Object this$isReworkPart = getIsReworkPart();
|
Object other$isReworkPart = other.getIsReworkPart();
|
if (this$isReworkPart == null) {
|
if (other$isReworkPart != null) {
|
return false;
|
}
|
} else if (!this$isReworkPart.equals(other$isReworkPart)) {
|
return false;
|
}
|
Object this$shiftIndex = getShiftIndex();
|
Object other$shiftIndex = other.getShiftIndex();
|
if (this$shiftIndex == null) {
|
if (other$shiftIndex != null) {
|
return false;
|
}
|
} else if (!this$shiftIndex.equals(other$shiftIndex)) {
|
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$batchNumber = getBatchNumber();
|
Object other$batchNumber = other.getBatchNumber();
|
if (this$batchNumber == null) {
|
if (other$batchNumber != null) {
|
return false;
|
}
|
} else if (!this$batchNumber.equals(other$batchNumber)) {
|
return false;
|
}
|
Object this$onlineTime = getOnlineTime();
|
Object other$onlineTime = other.getOnlineTime();
|
if (this$onlineTime == null) {
|
if (other$onlineTime != null) {
|
return false;
|
}
|
} else if (!this$onlineTime.equals(other$onlineTime)) {
|
return false;
|
}
|
Object this$offlineTime = getOfflineTime();
|
Object other$offlineTime = other.getOfflineTime();
|
if (this$offlineTime == null) {
|
if (other$offlineTime != null) {
|
return false;
|
}
|
} else if (!this$offlineTime.equals(other$offlineTime)) {
|
return false;
|
}
|
Object this$shiftIndexName = getShiftIndexName();
|
Object other$shiftIndexName = other.getShiftIndexName();
|
if (this$shiftIndexName == null) {
|
if (other$shiftIndexName != null) {
|
return false;
|
}
|
} else if (!this$shiftIndexName.equals(other$shiftIndexName)) {
|
return false;
|
}
|
Object this$flowRecordVOS = getFlowRecordVOS();
|
Object other$flowRecordVOS = other.getFlowRecordVOS();
|
return this$flowRecordVOS == null ? other$flowRecordVOS == null : this$flowRecordVOS.equals(other$flowRecordVOS);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TraceCatalogAndFlowRecordVO;
|
}
|
|
public int hashCode() {
|
Object $qualified = getQualified();
|
int result = (1 * 59) + ($qualified == null ? 43 : $qualified.hashCode());
|
Object $isReworkPart = getIsReworkPart();
|
int result2 = (result * 59) + ($isReworkPart == null ? 43 : $isReworkPart.hashCode());
|
Object $shiftIndex = getShiftIndex();
|
int result3 = (result2 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode());
|
Object $partNo = getPartNo();
|
int result4 = (result3 * 59) + ($partNo == null ? 43 : $partNo.hashCode());
|
Object $batchNumber = getBatchNumber();
|
int result5 = (result4 * 59) + ($batchNumber == null ? 43 : $batchNumber.hashCode());
|
Object $onlineTime = getOnlineTime();
|
int result6 = (result5 * 59) + ($onlineTime == null ? 43 : $onlineTime.hashCode());
|
Object $offlineTime = getOfflineTime();
|
int result7 = (result6 * 59) + ($offlineTime == null ? 43 : $offlineTime.hashCode());
|
Object $shiftIndexName = getShiftIndexName();
|
int result8 = (result7 * 59) + ($shiftIndexName == null ? 43 : $shiftIndexName.hashCode());
|
Object $flowRecordVOS = getFlowRecordVOS();
|
return (result8 * 59) + ($flowRecordVOS == null ? 43 : $flowRecordVOS.hashCode());
|
}
|
|
public String toString() {
|
return "TraceCatalogAndFlowRecordVO(partNo=" + getPartNo() + ", batchNumber=" + getBatchNumber() + ", onlineTime=" + getOnlineTime() + ", offlineTime=" + getOfflineTime() + ", qualified=" + getQualified() + ", isReworkPart=" + getIsReworkPart() + ", shiftIndex=" + getShiftIndex() + ", shiftIndexName=" + getShiftIndexName() + ", flowRecordVOS=" + getFlowRecordVOS() + ")";
|
}
|
|
public String getPartNo() {
|
return this.partNo;
|
}
|
|
public String getBatchNumber() {
|
return this.batchNumber;
|
}
|
|
public Date getOnlineTime() {
|
return this.onlineTime;
|
}
|
|
public Date getOfflineTime() {
|
return this.offlineTime;
|
}
|
|
public Integer getQualified() {
|
return this.qualified;
|
}
|
|
public Integer getIsReworkPart() {
|
return this.isReworkPart;
|
}
|
|
public Integer getShiftIndex() {
|
return this.shiftIndex;
|
}
|
|
public String getShiftIndexName() {
|
return this.shiftIndexName;
|
}
|
|
public List<TraceFlowRecordVO> getFlowRecordVOS() {
|
return this.flowRecordVOS;
|
}
|
}
|