package com.qianwen.smartman.modules.coproduction.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.Size;
|
|
@ApiModel(value = "OrderWorkstationVo对象", description = "blade_order_workstation")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/vo/OrderWorkstationVO.class */
|
public class OrderWorkstationVO implements Serializable {
|
@ApiModelProperty("租户ID")
|
@Size(max = 12, message = "租户ID长度不能超过12")
|
private String tenantId;
|
@ApiModelProperty("备注")
|
@Size(max = 255, message = "备注长度不能超过255")
|
private String remark;
|
@ApiModelProperty("计划id")
|
private Long planId;
|
@ApiModelProperty("工单id")
|
private Long orderId;
|
@ApiModelProperty("工单工序id")
|
private Long processId;
|
@ApiModelProperty("加工工位id")
|
private Long workstationId;
|
@ApiModelProperty("加工工位名称")
|
@Size(max = 32, message = "加工工位名称长度不能超过32")
|
private String workstationName;
|
@ApiModelProperty("当前生产人员id")
|
private Long producerId;
|
@ApiModelProperty("当前生产人员编号")
|
@Size(max = 32, message = "当前生产人员编号长度不能超过32")
|
private String producerCode;
|
@ApiModelProperty("当前生产人员名称")
|
@Size(max = 128, message = "当前生产人员名称长度不能超过128")
|
private String producerName;
|
@ApiModelProperty("报工合格数量")
|
private Integer qualifyNum;
|
@ApiModelProperty("报工报废数量")
|
private Integer scrappedNum;
|
@ApiModelProperty("状态:1.未开工 2.已开工 ")
|
private Integer workstationStatus;
|
@ApiModelProperty("当前报工记录的id")
|
private Long currentRecordId;
|
@ApiModelProperty("主键")
|
private Long id;
|
@ApiModelProperty("状态")
|
private Integer status;
|
|
public void setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public void setPlanId(final Long planId) {
|
this.planId = planId;
|
}
|
|
public void setOrderId(final Long orderId) {
|
this.orderId = orderId;
|
}
|
|
public void setProcessId(final Long processId) {
|
this.processId = processId;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
public void setProducerId(final Long producerId) {
|
this.producerId = producerId;
|
}
|
|
public void setProducerCode(final String producerCode) {
|
this.producerCode = producerCode;
|
}
|
|
public void setProducerName(final String producerName) {
|
this.producerName = producerName;
|
}
|
|
public void setQualifyNum(final Integer qualifyNum) {
|
this.qualifyNum = qualifyNum;
|
}
|
|
public void setScrappedNum(final Integer scrappedNum) {
|
this.scrappedNum = scrappedNum;
|
}
|
|
public void setWorkstationStatus(final Integer workstationStatus) {
|
this.workstationStatus = workstationStatus;
|
}
|
|
public void setCurrentRecordId(final Long currentRecordId) {
|
this.currentRecordId = currentRecordId;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof OrderWorkstationVO) {
|
OrderWorkstationVO other = (OrderWorkstationVO) o;
|
if (other.canEqual(this)) {
|
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$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$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();
|
return this$producerName == null ? other$producerName == null : this$producerName.equals(other$producerName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof OrderWorkstationVO;
|
}
|
|
public int hashCode() {
|
Object $planId = getPlanId();
|
int result = (1 * 59) + ($planId == null ? 43 : $planId.hashCode());
|
Object $orderId = getOrderId();
|
int result2 = (result * 59) + ($orderId == null ? 43 : $orderId.hashCode());
|
Object $processId = getProcessId();
|
int result3 = (result2 * 59) + ($processId == null ? 43 : $processId.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result4 = (result3 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $producerId = getProducerId();
|
int result5 = (result4 * 59) + ($producerId == null ? 43 : $producerId.hashCode());
|
Object $qualifyNum = getQualifyNum();
|
int result6 = (result5 * 59) + ($qualifyNum == null ? 43 : $qualifyNum.hashCode());
|
Object $scrappedNum = getScrappedNum();
|
int result7 = (result6 * 59) + ($scrappedNum == null ? 43 : $scrappedNum.hashCode());
|
Object $workstationStatus = getWorkstationStatus();
|
int result8 = (result7 * 59) + ($workstationStatus == null ? 43 : $workstationStatus.hashCode());
|
Object $currentRecordId = getCurrentRecordId();
|
int result9 = (result8 * 59) + ($currentRecordId == null ? 43 : $currentRecordId.hashCode());
|
Object $id = getId();
|
int result10 = (result9 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $status = getStatus();
|
int result11 = (result10 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $tenantId = getTenantId();
|
int result12 = (result11 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $remark = getRemark();
|
int result13 = (result12 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result14 = (result13 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $producerCode = getProducerCode();
|
int result15 = (result14 * 59) + ($producerCode == null ? 43 : $producerCode.hashCode());
|
Object $producerName = getProducerName();
|
return (result15 * 59) + ($producerName == null ? 43 : $producerName.hashCode());
|
}
|
|
public String toString() {
|
return "OrderWorkstationVO(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() + ", id=" + getId() + ", status=" + getStatus() + ")";
|
}
|
|
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 Long getId() {
|
return this.id;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
}
|