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/ParallelNumDTO.class */
|
public class ParallelNumDTO {
|
@ApiModelProperty("报工数量 = 累计合格 + 累计报废")
|
private Integer reportNum;
|
@ApiModelProperty("产量 = 累计合格 + 未报合格")
|
private Integer yield;
|
@ApiModelProperty("未报报废")
|
private Integer noScrappedNum;
|
|
public ParallelNumDTO setReportNum(final Integer reportNum) {
|
this.reportNum = reportNum;
|
return this;
|
}
|
|
public ParallelNumDTO setYield(final Integer yield) {
|
this.yield = yield;
|
return this;
|
}
|
|
public ParallelNumDTO setNoScrappedNum(final Integer noScrappedNum) {
|
this.noScrappedNum = noScrappedNum;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ParallelNumDTO) {
|
ParallelNumDTO other = (ParallelNumDTO) o;
|
if (other.canEqual(this)) {
|
Object this$reportNum = getReportNum();
|
Object other$reportNum = other.getReportNum();
|
if (this$reportNum == null) {
|
if (other$reportNum != null) {
|
return false;
|
}
|
} else if (!this$reportNum.equals(other$reportNum)) {
|
return false;
|
}
|
Object this$yield = getYield();
|
Object other$yield = other.getYield();
|
if (this$yield == null) {
|
if (other$yield != null) {
|
return false;
|
}
|
} else if (!this$yield.equals(other$yield)) {
|
return false;
|
}
|
Object this$noScrappedNum = getNoScrappedNum();
|
Object other$noScrappedNum = other.getNoScrappedNum();
|
return this$noScrappedNum == null ? other$noScrappedNum == null : this$noScrappedNum.equals(other$noScrappedNum);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ParallelNumDTO;
|
}
|
|
public int hashCode() {
|
Object $reportNum = getReportNum();
|
int result = (1 * 59) + ($reportNum == null ? 43 : $reportNum.hashCode());
|
Object $yield = getYield();
|
int result2 = (result * 59) + ($yield == null ? 43 : $yield.hashCode());
|
Object $noScrappedNum = getNoScrappedNum();
|
return (result2 * 59) + ($noScrappedNum == null ? 43 : $noScrappedNum.hashCode());
|
}
|
|
public String toString() {
|
return "ParallelNumDTO(reportNum=" + getReportNum() + ", yield=" + getYield() + ", noScrappedNum=" + getNoScrappedNum() + ")";
|
}
|
|
public Integer getReportNum() {
|
return this.reportNum;
|
}
|
|
public Integer getYield() {
|
return this.yield;
|
}
|
|
public Integer getNoScrappedNum() {
|
return this.noScrappedNum;
|
}
|
}
|