package com.qianwen.smartman.modules.coproduction.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/OrderRecordInfoDTO.class */
|
public class OrderRecordInfoDTO {
|
@ApiModelProperty("工单id")
|
private Long orderId;
|
@ApiModelProperty("工单状态(1:待加工,2:加工中,3:暂停,4:关闭,5:完工)")
|
private Integer orderStatus;
|
@ApiModelProperty("工单工序id")
|
private Long processId;
|
@ApiModelProperty("工单工序顺序")
|
private Integer processSort;
|
@ApiModelProperty("报工记录id")
|
private Long recordId;
|
@ApiModelProperty("工单派发数量")
|
private Integer orderAssignNum;
|
@ApiModelProperty("工位id")
|
private Long workstationId;
|
@ApiModelProperty("报工合格数量")
|
private Integer recordQualifyNum;
|
@ApiModelProperty("报工报废数量")
|
private Integer recordScrappedNum;
|
|
public void setOrderId(final Long orderId) {
|
this.orderId = orderId;
|
}
|
|
public void setOrderStatus(final Integer orderStatus) {
|
this.orderStatus = orderStatus;
|
}
|
|
public void setProcessId(final Long processId) {
|
this.processId = processId;
|
}
|
|
public void setProcessSort(final Integer processSort) {
|
this.processSort = processSort;
|
}
|
|
public void setRecordId(final Long recordId) {
|
this.recordId = recordId;
|
}
|
|
public void setOrderAssignNum(final Integer orderAssignNum) {
|
this.orderAssignNum = orderAssignNum;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setRecordQualifyNum(final Integer recordQualifyNum) {
|
this.recordQualifyNum = recordQualifyNum;
|
}
|
|
public void setRecordScrappedNum(final Integer recordScrappedNum) {
|
this.recordScrappedNum = recordScrappedNum;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof OrderRecordInfoDTO) {
|
OrderRecordInfoDTO other = (OrderRecordInfoDTO) o;
|
if (other.canEqual(this)) {
|
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$orderStatus = getOrderStatus();
|
Object other$orderStatus = other.getOrderStatus();
|
if (this$orderStatus == null) {
|
if (other$orderStatus != null) {
|
return false;
|
}
|
} else if (!this$orderStatus.equals(other$orderStatus)) {
|
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$processSort = getProcessSort();
|
Object other$processSort = other.getProcessSort();
|
if (this$processSort == null) {
|
if (other$processSort != null) {
|
return false;
|
}
|
} else if (!this$processSort.equals(other$processSort)) {
|
return false;
|
}
|
Object this$recordId = getRecordId();
|
Object other$recordId = other.getRecordId();
|
if (this$recordId == null) {
|
if (other$recordId != null) {
|
return false;
|
}
|
} else if (!this$recordId.equals(other$recordId)) {
|
return false;
|
}
|
Object this$orderAssignNum = getOrderAssignNum();
|
Object other$orderAssignNum = other.getOrderAssignNum();
|
if (this$orderAssignNum == null) {
|
if (other$orderAssignNum != null) {
|
return false;
|
}
|
} else if (!this$orderAssignNum.equals(other$orderAssignNum)) {
|
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$recordQualifyNum = getRecordQualifyNum();
|
Object other$recordQualifyNum = other.getRecordQualifyNum();
|
if (this$recordQualifyNum == null) {
|
if (other$recordQualifyNum != null) {
|
return false;
|
}
|
} else if (!this$recordQualifyNum.equals(other$recordQualifyNum)) {
|
return false;
|
}
|
Object this$recordScrappedNum = getRecordScrappedNum();
|
Object other$recordScrappedNum = other.getRecordScrappedNum();
|
return this$recordScrappedNum == null ? other$recordScrappedNum == null : this$recordScrappedNum.equals(other$recordScrappedNum);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof OrderRecordInfoDTO;
|
}
|
|
public int hashCode() {
|
Object $orderId = getOrderId();
|
int result = (1 * 59) + ($orderId == null ? 43 : $orderId.hashCode());
|
Object $orderStatus = getOrderStatus();
|
int result2 = (result * 59) + ($orderStatus == null ? 43 : $orderStatus.hashCode());
|
Object $processId = getProcessId();
|
int result3 = (result2 * 59) + ($processId == null ? 43 : $processId.hashCode());
|
Object $processSort = getProcessSort();
|
int result4 = (result3 * 59) + ($processSort == null ? 43 : $processSort.hashCode());
|
Object $recordId = getRecordId();
|
int result5 = (result4 * 59) + ($recordId == null ? 43 : $recordId.hashCode());
|
Object $orderAssignNum = getOrderAssignNum();
|
int result6 = (result5 * 59) + ($orderAssignNum == null ? 43 : $orderAssignNum.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result7 = (result6 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $recordQualifyNum = getRecordQualifyNum();
|
int result8 = (result7 * 59) + ($recordQualifyNum == null ? 43 : $recordQualifyNum.hashCode());
|
Object $recordScrappedNum = getRecordScrappedNum();
|
return (result8 * 59) + ($recordScrappedNum == null ? 43 : $recordScrappedNum.hashCode());
|
}
|
|
public String toString() {
|
return "OrderRecordInfoDTO(orderId=" + getOrderId() + ", orderStatus=" + getOrderStatus() + ", processId=" + getProcessId() + ", processSort=" + getProcessSort() + ", recordId=" + getRecordId() + ", orderAssignNum=" + getOrderAssignNum() + ", workstationId=" + getWorkstationId() + ", recordQualifyNum=" + getRecordQualifyNum() + ", recordScrappedNum=" + getRecordScrappedNum() + ")";
|
}
|
|
public Long getOrderId() {
|
return this.orderId;
|
}
|
|
public Integer getOrderStatus() {
|
return this.orderStatus;
|
}
|
|
public Long getProcessId() {
|
return this.processId;
|
}
|
|
public Integer getProcessSort() {
|
return this.processSort;
|
}
|
|
public Long getRecordId() {
|
return this.recordId;
|
}
|
|
public Integer getOrderAssignNum() {
|
return this.orderAssignNum;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public Integer getRecordQualifyNum() {
|
return this.recordQualifyNum;
|
}
|
|
public Integer getRecordScrappedNum() {
|
return this.recordScrappedNum;
|
}
|
}
|