package com.qianwen.smartman.modules.coproduction.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/JuxtapositionReportDTO.class */
|
public class JuxtapositionReportDTO implements Serializable {
|
@ApiModelProperty("报工记录id")
|
private Long recordId;
|
@ApiModelProperty("工序id")
|
private Long processId;
|
@ApiModelProperty("工序编号")
|
private String processCode;
|
@ApiModelProperty("工序名称")
|
private String processName;
|
@ApiModelProperty("合格数量")
|
private Integer qualifyNum;
|
@ApiModelProperty("报废数量")
|
private Integer scrappedNum;
|
@ApiModelProperty("加工工位id")
|
private Long workstationId;
|
@ApiModelProperty("加工工位名称")
|
private String workstationName;
|
@ApiModelProperty("主序id(当主序id不为空时,代表工序是子序)")
|
private Long mainSequenceId;
|
@ApiModelProperty("并序报工记录id(并序开工时子序的开工记录中)")
|
private Long openSequenceId;
|
|
public JuxtapositionReportDTO setRecordId(final Long recordId) {
|
this.recordId = recordId;
|
return this;
|
}
|
|
public JuxtapositionReportDTO setProcessId(final Long processId) {
|
this.processId = processId;
|
return this;
|
}
|
|
public JuxtapositionReportDTO setProcessCode(final String processCode) {
|
this.processCode = processCode;
|
return this;
|
}
|
|
public JuxtapositionReportDTO setProcessName(final String processName) {
|
this.processName = processName;
|
return this;
|
}
|
|
public JuxtapositionReportDTO setQualifyNum(final Integer qualifyNum) {
|
this.qualifyNum = qualifyNum;
|
return this;
|
}
|
|
public JuxtapositionReportDTO setScrappedNum(final Integer scrappedNum) {
|
this.scrappedNum = scrappedNum;
|
return this;
|
}
|
|
public JuxtapositionReportDTO setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public JuxtapositionReportDTO setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public JuxtapositionReportDTO setMainSequenceId(final Long mainSequenceId) {
|
this.mainSequenceId = mainSequenceId;
|
return this;
|
}
|
|
public JuxtapositionReportDTO setOpenSequenceId(final Long openSequenceId) {
|
this.openSequenceId = openSequenceId;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof JuxtapositionReportDTO) {
|
JuxtapositionReportDTO other = (JuxtapositionReportDTO) o;
|
if (other.canEqual(this)) {
|
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$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$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$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$mainSequenceId = getMainSequenceId();
|
Object other$mainSequenceId = other.getMainSequenceId();
|
if (this$mainSequenceId == null) {
|
if (other$mainSequenceId != null) {
|
return false;
|
}
|
} else if (!this$mainSequenceId.equals(other$mainSequenceId)) {
|
return false;
|
}
|
Object this$openSequenceId = getOpenSequenceId();
|
Object other$openSequenceId = other.getOpenSequenceId();
|
if (this$openSequenceId == null) {
|
if (other$openSequenceId != null) {
|
return false;
|
}
|
} else if (!this$openSequenceId.equals(other$openSequenceId)) {
|
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$workstationName = getWorkstationName();
|
Object other$workstationName = other.getWorkstationName();
|
return this$workstationName == null ? other$workstationName == null : this$workstationName.equals(other$workstationName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof JuxtapositionReportDTO;
|
}
|
|
public int hashCode() {
|
Object $recordId = getRecordId();
|
int result = (1 * 59) + ($recordId == null ? 43 : $recordId.hashCode());
|
Object $processId = getProcessId();
|
int result2 = (result * 59) + ($processId == null ? 43 : $processId.hashCode());
|
Object $qualifyNum = getQualifyNum();
|
int result3 = (result2 * 59) + ($qualifyNum == null ? 43 : $qualifyNum.hashCode());
|
Object $scrappedNum = getScrappedNum();
|
int result4 = (result3 * 59) + ($scrappedNum == null ? 43 : $scrappedNum.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result5 = (result4 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $mainSequenceId = getMainSequenceId();
|
int result6 = (result5 * 59) + ($mainSequenceId == null ? 43 : $mainSequenceId.hashCode());
|
Object $openSequenceId = getOpenSequenceId();
|
int result7 = (result6 * 59) + ($openSequenceId == null ? 43 : $openSequenceId.hashCode());
|
Object $processCode = getProcessCode();
|
int result8 = (result7 * 59) + ($processCode == null ? 43 : $processCode.hashCode());
|
Object $processName = getProcessName();
|
int result9 = (result8 * 59) + ($processName == null ? 43 : $processName.hashCode());
|
Object $workstationName = getWorkstationName();
|
return (result9 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
}
|
|
public String toString() {
|
return "JuxtapositionReportDTO(recordId=" + getRecordId() + ", processId=" + getProcessId() + ", processCode=" + getProcessCode() + ", processName=" + getProcessName() + ", qualifyNum=" + getQualifyNum() + ", scrappedNum=" + getScrappedNum() + ", workstationId=" + getWorkstationId() + ", workstationName=" + getWorkstationName() + ", mainSequenceId=" + getMainSequenceId() + ", openSequenceId=" + getOpenSequenceId() + ")";
|
}
|
|
public Long getRecordId() {
|
return this.recordId;
|
}
|
|
public Long getProcessId() {
|
return this.processId;
|
}
|
|
public String getProcessCode() {
|
return this.processCode;
|
}
|
|
public String getProcessName() {
|
return this.processName;
|
}
|
|
public Integer getQualifyNum() {
|
return this.qualifyNum;
|
}
|
|
public Integer getScrappedNum() {
|
return this.scrappedNum;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public Long getMainSequenceId() {
|
return this.mainSequenceId;
|
}
|
|
public Long getOpenSequenceId() {
|
return this.openSequenceId;
|
}
|
}
|