package com.qianwen.smartman.modules.coproduction.dto; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/OrderProcessReportWorkDTO.class */ public class OrderProcessReportWorkDTO { @ApiModelProperty("主序id(当主序id不为空时,代表工序是子序)") private Long mainSequenceId; @ApiModelProperty("并序报工记录id(并序开工时子序的开工记录中)") private Long openSequenceId; @NotBlank(message = "报工记录id必传") @ApiModelProperty("报工记录id") private String recordId; @ApiModelProperty("工序id") private String processId; @NotNull(message = "合格数量必填") @ApiModelProperty("报工合格数量") private Integer qualifyNum; @NotNull(message = "不合格数量必填") @ApiModelProperty("报工不合格数量") private Integer scrappedNum; @ApiModelProperty("报工人员id") private String workshopUserId; @ApiModelProperty("报工人员编码") private String workshopUserCode; @ApiModelProperty("报工人员名称") private String workshopUserName; @ApiModelProperty("质检报工人员") private String qualityUserId; @ApiModelProperty("质检报工人员编码") private String qualityUserCode; @ApiModelProperty("质检报工人员名称") private String qualityUserName; @ApiModelProperty("备注") private String remark; public OrderProcessReportWorkDTO setMainSequenceId(final Long mainSequenceId) { this.mainSequenceId = mainSequenceId; return this; } public OrderProcessReportWorkDTO setOpenSequenceId(final Long openSequenceId) { this.openSequenceId = openSequenceId; return this; } public OrderProcessReportWorkDTO setRecordId(final String recordId) { this.recordId = recordId; return this; } public OrderProcessReportWorkDTO setProcessId(final String processId) { this.processId = processId; return this; } public OrderProcessReportWorkDTO setQualifyNum(final Integer qualifyNum) { this.qualifyNum = qualifyNum; return this; } public OrderProcessReportWorkDTO setScrappedNum(final Integer scrappedNum) { this.scrappedNum = scrappedNum; return this; } public OrderProcessReportWorkDTO setWorkshopUserId(final String workshopUserId) { this.workshopUserId = workshopUserId; return this; } public OrderProcessReportWorkDTO setWorkshopUserCode(final String workshopUserCode) { this.workshopUserCode = workshopUserCode; return this; } public OrderProcessReportWorkDTO setWorkshopUserName(final String workshopUserName) { this.workshopUserName = workshopUserName; return this; } public OrderProcessReportWorkDTO setQualityUserId(final String qualityUserId) { this.qualityUserId = qualityUserId; return this; } public OrderProcessReportWorkDTO setQualityUserCode(final String qualityUserCode) { this.qualityUserCode = qualityUserCode; return this; } public OrderProcessReportWorkDTO setQualityUserName(final String qualityUserName) { this.qualityUserName = qualityUserName; return this; } public OrderProcessReportWorkDTO setRemark(final String remark) { this.remark = remark; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof OrderProcessReportWorkDTO) { OrderProcessReportWorkDTO other = (OrderProcessReportWorkDTO) o; if (other.canEqual(this)) { 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$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$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$workshopUserId = getWorkshopUserId(); Object other$workshopUserId = other.getWorkshopUserId(); if (this$workshopUserId == null) { if (other$workshopUserId != null) { return false; } } else if (!this$workshopUserId.equals(other$workshopUserId)) { return false; } Object this$workshopUserCode = getWorkshopUserCode(); Object other$workshopUserCode = other.getWorkshopUserCode(); if (this$workshopUserCode == null) { if (other$workshopUserCode != null) { return false; } } else if (!this$workshopUserCode.equals(other$workshopUserCode)) { return false; } Object this$workshopUserName = getWorkshopUserName(); Object other$workshopUserName = other.getWorkshopUserName(); if (this$workshopUserName == null) { if (other$workshopUserName != null) { return false; } } else if (!this$workshopUserName.equals(other$workshopUserName)) { return false; } Object this$qualityUserId = getQualityUserId(); Object other$qualityUserId = other.getQualityUserId(); if (this$qualityUserId == null) { if (other$qualityUserId != null) { return false; } } else if (!this$qualityUserId.equals(other$qualityUserId)) { return false; } Object this$qualityUserCode = getQualityUserCode(); Object other$qualityUserCode = other.getQualityUserCode(); if (this$qualityUserCode == null) { if (other$qualityUserCode != null) { return false; } } else if (!this$qualityUserCode.equals(other$qualityUserCode)) { return false; } Object this$qualityUserName = getQualityUserName(); Object other$qualityUserName = other.getQualityUserName(); if (this$qualityUserName == null) { if (other$qualityUserName != null) { return false; } } else if (!this$qualityUserName.equals(other$qualityUserName)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); return this$remark == null ? other$remark == null : this$remark.equals(other$remark); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof OrderProcessReportWorkDTO; } public int hashCode() { Object $mainSequenceId = getMainSequenceId(); int result = (1 * 59) + ($mainSequenceId == null ? 43 : $mainSequenceId.hashCode()); Object $openSequenceId = getOpenSequenceId(); int result2 = (result * 59) + ($openSequenceId == null ? 43 : $openSequenceId.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 $recordId = getRecordId(); int result5 = (result4 * 59) + ($recordId == null ? 43 : $recordId.hashCode()); Object $processId = getProcessId(); int result6 = (result5 * 59) + ($processId == null ? 43 : $processId.hashCode()); Object $workshopUserId = getWorkshopUserId(); int result7 = (result6 * 59) + ($workshopUserId == null ? 43 : $workshopUserId.hashCode()); Object $workshopUserCode = getWorkshopUserCode(); int result8 = (result7 * 59) + ($workshopUserCode == null ? 43 : $workshopUserCode.hashCode()); Object $workshopUserName = getWorkshopUserName(); int result9 = (result8 * 59) + ($workshopUserName == null ? 43 : $workshopUserName.hashCode()); Object $qualityUserId = getQualityUserId(); int result10 = (result9 * 59) + ($qualityUserId == null ? 43 : $qualityUserId.hashCode()); Object $qualityUserCode = getQualityUserCode(); int result11 = (result10 * 59) + ($qualityUserCode == null ? 43 : $qualityUserCode.hashCode()); Object $qualityUserName = getQualityUserName(); int result12 = (result11 * 59) + ($qualityUserName == null ? 43 : $qualityUserName.hashCode()); Object $remark = getRemark(); return (result12 * 59) + ($remark == null ? 43 : $remark.hashCode()); } public String toString() { return "OrderProcessReportWorkDTO(mainSequenceId=" + getMainSequenceId() + ", openSequenceId=" + getOpenSequenceId() + ", recordId=" + getRecordId() + ", processId=" + getProcessId() + ", qualifyNum=" + getQualifyNum() + ", scrappedNum=" + getScrappedNum() + ", workshopUserId=" + getWorkshopUserId() + ", workshopUserCode=" + getWorkshopUserCode() + ", workshopUserName=" + getWorkshopUserName() + ", qualityUserId=" + getQualityUserId() + ", qualityUserCode=" + getQualityUserCode() + ", qualityUserName=" + getQualityUserName() + ", remark=" + getRemark() + ")"; } public Long getMainSequenceId() { return this.mainSequenceId; } public Long getOpenSequenceId() { return this.openSequenceId; } public String getRecordId() { return this.recordId; } public String getProcessId() { return this.processId; } public Integer getQualifyNum() { return this.qualifyNum; } public Integer getScrappedNum() { return this.scrappedNum; } public String getWorkshopUserId() { return this.workshopUserId; } public String getWorkshopUserCode() { return this.workshopUserCode; } public String getWorkshopUserName() { return this.workshopUserName; } public String getQualityUserId() { return this.qualityUserId; } public String getQualityUserCode() { return this.qualityUserCode; } public String getQualityUserName() { return this.qualityUserName; } public String getRemark() { return this.remark; } }