package com.qianwen.smartman.modules.coproduction.entity;
|
|
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
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 = "OrderWorkstation对象", description = "blade_order_workstation")
|
@TableName("blade_order_workstation")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/entity/OrderWorkstation.class */
|
public class OrderWorkstation extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("租户ID")
|
private String tenantId;
|
@ApiModelProperty("备注")
|
private String remark;
|
@ApiModelProperty("计划id")
|
private Long planId;
|
@ApiModelProperty("工单id")
|
private Long orderId;
|
@ApiModelProperty("工单工序id")
|
private Long processId;
|
@ApiModelProperty("加工工位id")
|
private Long workstationId;
|
@ApiModelProperty("加工工位名称")
|
private String workstationName;
|
@ApiModelProperty("当前生产人员id")
|
private Long producerId;
|
@ApiModelProperty("当前生产人员编号")
|
private String producerCode;
|
@ApiModelProperty("当前生产人员名称")
|
private String producerName;
|
@ApiModelProperty("报工合格数量")
|
private Integer qualifyNum;
|
@ApiModelProperty("报工报废数量")
|
private Integer scrappedNum;
|
@ApiModelProperty("状态:1.未开工 2.已开工 ")
|
private Integer workstationStatus;
|
@TableField(value = "current_record_id", updateStrategy = FieldStrategy.IGNORED)
|
@ApiModelProperty("当前报工记录的id")
|
private Long currentRecordId;
|
@TableField(exist = false)
|
@ApiModelProperty("当前工序编号")
|
private String processCode;
|
@TableField(exist = false)
|
@ApiModelProperty("当前工序名称")
|
private String processName;
|
@TableField(exist = false)
|
@ApiModelProperty("工单号")
|
private String orderCode;
|
|
public OrderWorkstation setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
return this;
|
}
|
|
public OrderWorkstation setRemark(final String remark) {
|
this.remark = remark;
|
return this;
|
}
|
|
public OrderWorkstation setPlanId(final Long planId) {
|
this.planId = planId;
|
return this;
|
}
|
|
public OrderWorkstation setOrderId(final Long orderId) {
|
this.orderId = orderId;
|
return this;
|
}
|
|
public OrderWorkstation setProcessId(final Long processId) {
|
this.processId = processId;
|
return this;
|
}
|
|
public OrderWorkstation setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public OrderWorkstation setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public OrderWorkstation setProducerId(final Long producerId) {
|
this.producerId = producerId;
|
return this;
|
}
|
|
public OrderWorkstation setProducerCode(final String producerCode) {
|
this.producerCode = producerCode;
|
return this;
|
}
|
|
public OrderWorkstation setProducerName(final String producerName) {
|
this.producerName = producerName;
|
return this;
|
}
|
|
public OrderWorkstation setQualifyNum(final Integer qualifyNum) {
|
this.qualifyNum = qualifyNum;
|
return this;
|
}
|
|
public OrderWorkstation setScrappedNum(final Integer scrappedNum) {
|
this.scrappedNum = scrappedNum;
|
return this;
|
}
|
|
public OrderWorkstation setWorkstationStatus(final Integer workstationStatus) {
|
this.workstationStatus = workstationStatus;
|
return this;
|
}
|
|
public OrderWorkstation setCurrentRecordId(final Long currentRecordId) {
|
this.currentRecordId = currentRecordId;
|
return this;
|
}
|
|
public OrderWorkstation setProcessCode(final String processCode) {
|
this.processCode = processCode;
|
return this;
|
}
|
|
public OrderWorkstation setProcessName(final String processName) {
|
this.processName = processName;
|
return this;
|
}
|
|
public OrderWorkstation setOrderCode(final String orderCode) {
|
this.orderCode = orderCode;
|
return this;
|
}
|
|
public String toString() {
|
return "OrderWorkstation(tenantId=" + getTenantId() + ", remark=" + getRemark() + ", planId=" + getPlanId() + ", orderId=" + getOrderId() + ", processId=" + getProcessId() + ", workstationId=" + getWorkstationId() + ", workstationName=" + getWorkstationName() + ", producerId=" + getProducerId() + ", producerCode=" + getProducerCode() + ", producerName=" + getProducerName() + ", qualifyNum=" + getQualifyNum() + ", scrappedNum=" + getScrappedNum() + ", workstationStatus=" + getWorkstationStatus() + ", currentRecordId=" + getCurrentRecordId() + ", processCode=" + getProcessCode() + ", processName=" + getProcessName() + ", orderCode=" + getOrderCode() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof OrderWorkstation) {
|
OrderWorkstation other = (OrderWorkstation) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
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$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$processId = getProcessId();
|
Object other$processId = other.getProcessId();
|
if (this$processId == null) {
|
if (other$processId != null) {
|
return false;
|
}
|
} else if (!this$processId.equals(other$processId)) {
|
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$producerId = getProducerId();
|
Object other$producerId = other.getProducerId();
|
if (this$producerId == null) {
|
if (other$producerId != null) {
|
return false;
|
}
|
} else if (!this$producerId.equals(other$producerId)) {
|
return false;
|
}
|
Object this$qualifyNum = getQualifyNum();
|
Object other$qualifyNum = other.getQualifyNum();
|
if (this$qualifyNum == null) {
|
if (other$qualifyNum != null) {
|
return false;
|
}
|
} else if (!this$qualifyNum.equals(other$qualifyNum)) {
|
return false;
|
}
|
Object this$scrappedNum = getScrappedNum();
|
Object other$scrappedNum = other.getScrappedNum();
|
if (this$scrappedNum == null) {
|
if (other$scrappedNum != null) {
|
return false;
|
}
|
} else if (!this$scrappedNum.equals(other$scrappedNum)) {
|
return false;
|
}
|
Object this$workstationStatus = getWorkstationStatus();
|
Object other$workstationStatus = other.getWorkstationStatus();
|
if (this$workstationStatus == null) {
|
if (other$workstationStatus != null) {
|
return false;
|
}
|
} else if (!this$workstationStatus.equals(other$workstationStatus)) {
|
return false;
|
}
|
Object this$currentRecordId = getCurrentRecordId();
|
Object other$currentRecordId = other.getCurrentRecordId();
|
if (this$currentRecordId == null) {
|
if (other$currentRecordId != null) {
|
return false;
|
}
|
} else if (!this$currentRecordId.equals(other$currentRecordId)) {
|
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$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$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$producerCode = getProducerCode();
|
Object other$producerCode = other.getProducerCode();
|
if (this$producerCode == null) {
|
if (other$producerCode != null) {
|
return false;
|
}
|
} else if (!this$producerCode.equals(other$producerCode)) {
|
return false;
|
}
|
Object this$producerName = getProducerName();
|
Object other$producerName = other.getProducerName();
|
if (this$producerName == null) {
|
if (other$producerName != null) {
|
return false;
|
}
|
} else if (!this$producerName.equals(other$producerName)) {
|
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$processName = getProcessName();
|
Object other$processName = other.getProcessName();
|
if (this$processName == null) {
|
if (other$processName != null) {
|
return false;
|
}
|
} else if (!this$processName.equals(other$processName)) {
|
return false;
|
}
|
Object this$orderCode = getOrderCode();
|
Object other$orderCode = other.getOrderCode();
|
return this$orderCode == null ? other$orderCode == null : this$orderCode.equals(other$orderCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof OrderWorkstation;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $planId = getPlanId();
|
int result2 = (result * 59) + ($planId == null ? 43 : $planId.hashCode());
|
Object $orderId = getOrderId();
|
int result3 = (result2 * 59) + ($orderId == null ? 43 : $orderId.hashCode());
|
Object $processId = getProcessId();
|
int result4 = (result3 * 59) + ($processId == null ? 43 : $processId.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result5 = (result4 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $producerId = getProducerId();
|
int result6 = (result5 * 59) + ($producerId == null ? 43 : $producerId.hashCode());
|
Object $qualifyNum = getQualifyNum();
|
int result7 = (result6 * 59) + ($qualifyNum == null ? 43 : $qualifyNum.hashCode());
|
Object $scrappedNum = getScrappedNum();
|
int result8 = (result7 * 59) + ($scrappedNum == null ? 43 : $scrappedNum.hashCode());
|
Object $workstationStatus = getWorkstationStatus();
|
int result9 = (result8 * 59) + ($workstationStatus == null ? 43 : $workstationStatus.hashCode());
|
Object $currentRecordId = getCurrentRecordId();
|
int result10 = (result9 * 59) + ($currentRecordId == null ? 43 : $currentRecordId.hashCode());
|
Object $tenantId = getTenantId();
|
int result11 = (result10 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $remark = getRemark();
|
int result12 = (result11 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result13 = (result12 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $producerCode = getProducerCode();
|
int result14 = (result13 * 59) + ($producerCode == null ? 43 : $producerCode.hashCode());
|
Object $producerName = getProducerName();
|
int result15 = (result14 * 59) + ($producerName == null ? 43 : $producerName.hashCode());
|
Object $processCode = getProcessCode();
|
int result16 = (result15 * 59) + ($processCode == null ? 43 : $processCode.hashCode());
|
Object $processName = getProcessName();
|
int result17 = (result16 * 59) + ($processName == null ? 43 : $processName.hashCode());
|
Object $orderCode = getOrderCode();
|
return (result17 * 59) + ($orderCode == null ? 43 : $orderCode.hashCode());
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public Long getPlanId() {
|
return this.planId;
|
}
|
|
public Long getOrderId() {
|
return this.orderId;
|
}
|
|
public Long getProcessId() {
|
return this.processId;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public Long getProducerId() {
|
return this.producerId;
|
}
|
|
public String getProducerCode() {
|
return this.producerCode;
|
}
|
|
public String getProducerName() {
|
return this.producerName;
|
}
|
|
public Integer getQualifyNum() {
|
return this.qualifyNum;
|
}
|
|
public Integer getScrappedNum() {
|
return this.scrappedNum;
|
}
|
|
public Integer getWorkstationStatus() {
|
return this.workstationStatus;
|
}
|
|
public Long getCurrentRecordId() {
|
return this.currentRecordId;
|
}
|
|
public String getProcessCode() {
|
return this.processCode;
|
}
|
|
public String getProcessName() {
|
return this.processName;
|
}
|
|
public String getOrderCode() {
|
return this.orderCode;
|
}
|
}
|