package com.qianwen.smartman.modules.trace.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 = "TraceCatalog对象", description = "工件上线记录")
|
@TableName("blade_trace_catalog")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/entity/TraceCatalog.class */
|
public class TraceCatalog extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("备注")
|
private String remark;
|
private String tenantId;
|
@ApiModelProperty("工件编号")
|
private String partNo;
|
@ApiModelProperty("批次号")
|
private String batchNumber;
|
@ApiModelProperty("上限时间")
|
private Date onlineTime;
|
@ApiModelProperty("下线时间")
|
private Date offlineTime;
|
@ApiModelProperty("工位组id")
|
private Long workstationGroupId;
|
@ApiModelProperty("是否合格:0 否 1 是")
|
private Integer qualified;
|
@ApiModelProperty("是否返工:0 否 1 是")
|
private Integer isReworkPart;
|
@ApiModelProperty("班次下标")
|
private Integer shiftIndex;
|
@ApiModelProperty("班次下标别名")
|
private String shiftIndexName;
|
@ApiModelProperty("计划id,无计划填0")
|
private Integer planId;
|
@ApiModelProperty("工件状态:1已下线 2未下线 3未知")
|
private Integer traceStatus;
|
|
public TraceCatalog setRemark(final String remark) {
|
this.remark = remark;
|
return this;
|
}
|
|
public TraceCatalog setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
return this;
|
}
|
|
public TraceCatalog setPartNo(final String partNo) {
|
this.partNo = partNo;
|
return this;
|
}
|
|
public TraceCatalog setBatchNumber(final String batchNumber) {
|
this.batchNumber = batchNumber;
|
return this;
|
}
|
|
public TraceCatalog setOnlineTime(final Date onlineTime) {
|
this.onlineTime = onlineTime;
|
return this;
|
}
|
|
public TraceCatalog setOfflineTime(final Date offlineTime) {
|
this.offlineTime = offlineTime;
|
return this;
|
}
|
|
public TraceCatalog setWorkstationGroupId(final Long workstationGroupId) {
|
this.workstationGroupId = workstationGroupId;
|
return this;
|
}
|
|
public TraceCatalog setQualified(final Integer qualified) {
|
this.qualified = qualified;
|
return this;
|
}
|
|
public TraceCatalog setIsReworkPart(final Integer isReworkPart) {
|
this.isReworkPart = isReworkPart;
|
return this;
|
}
|
|
public TraceCatalog setShiftIndex(final Integer shiftIndex) {
|
this.shiftIndex = shiftIndex;
|
return this;
|
}
|
|
public TraceCatalog setShiftIndexName(final String shiftIndexName) {
|
this.shiftIndexName = shiftIndexName;
|
return this;
|
}
|
|
public TraceCatalog setPlanId(final Integer planId) {
|
this.planId = planId;
|
return this;
|
}
|
|
public TraceCatalog setTraceStatus(final Integer traceStatus) {
|
this.traceStatus = traceStatus;
|
return this;
|
}
|
|
public String toString() {
|
return "TraceCatalog(remark=" + getRemark() + ", tenantId=" + getTenantId() + ", partNo=" + getPartNo() + ", batchNumber=" + getBatchNumber() + ", onlineTime=" + getOnlineTime() + ", offlineTime=" + getOfflineTime() + ", workstationGroupId=" + getWorkstationGroupId() + ", qualified=" + getQualified() + ", isReworkPart=" + getIsReworkPart() + ", shiftIndex=" + getShiftIndex() + ", shiftIndexName=" + getShiftIndexName() + ", planId=" + getPlanId() + ", traceStatus=" + getTraceStatus() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TraceCatalog) {
|
TraceCatalog other = (TraceCatalog) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$workstationGroupId = getWorkstationGroupId();
|
Object other$workstationGroupId = other.getWorkstationGroupId();
|
if (this$workstationGroupId == null) {
|
if (other$workstationGroupId != null) {
|
return false;
|
}
|
} else if (!this$workstationGroupId.equals(other$workstationGroupId)) {
|
return false;
|
}
|
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$planId = getPlanId();
|
Object other$planId = other.getPlanId();
|
if (this$planId == null) {
|
if (other$planId != null) {
|
return false;
|
}
|
} else if (!this$planId.equals(other$planId)) {
|
return false;
|
}
|
Object this$traceStatus = getTraceStatus();
|
Object other$traceStatus = other.getTraceStatus();
|
if (this$traceStatus == null) {
|
if (other$traceStatus != null) {
|
return false;
|
}
|
} else if (!this$traceStatus.equals(other$traceStatus)) {
|
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$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();
|
return this$shiftIndexName == null ? other$shiftIndexName == null : this$shiftIndexName.equals(other$shiftIndexName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TraceCatalog;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $workstationGroupId = getWorkstationGroupId();
|
int result2 = (result * 59) + ($workstationGroupId == null ? 43 : $workstationGroupId.hashCode());
|
Object $qualified = getQualified();
|
int result3 = (result2 * 59) + ($qualified == null ? 43 : $qualified.hashCode());
|
Object $isReworkPart = getIsReworkPart();
|
int result4 = (result3 * 59) + ($isReworkPart == null ? 43 : $isReworkPart.hashCode());
|
Object $shiftIndex = getShiftIndex();
|
int result5 = (result4 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode());
|
Object $planId = getPlanId();
|
int result6 = (result5 * 59) + ($planId == null ? 43 : $planId.hashCode());
|
Object $traceStatus = getTraceStatus();
|
int result7 = (result6 * 59) + ($traceStatus == null ? 43 : $traceStatus.hashCode());
|
Object $remark = getRemark();
|
int result8 = (result7 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $tenantId = getTenantId();
|
int result9 = (result8 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $partNo = getPartNo();
|
int result10 = (result9 * 59) + ($partNo == null ? 43 : $partNo.hashCode());
|
Object $batchNumber = getBatchNumber();
|
int result11 = (result10 * 59) + ($batchNumber == null ? 43 : $batchNumber.hashCode());
|
Object $onlineTime = getOnlineTime();
|
int result12 = (result11 * 59) + ($onlineTime == null ? 43 : $onlineTime.hashCode());
|
Object $offlineTime = getOfflineTime();
|
int result13 = (result12 * 59) + ($offlineTime == null ? 43 : $offlineTime.hashCode());
|
Object $shiftIndexName = getShiftIndexName();
|
return (result13 * 59) + ($shiftIndexName == null ? 43 : $shiftIndexName.hashCode());
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
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 Long getWorkstationGroupId() {
|
return this.workstationGroupId;
|
}
|
|
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 Integer getPlanId() {
|
return this.planId;
|
}
|
|
public Integer getTraceStatus() {
|
return this.traceStatus;
|
}
|
}
|