yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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;
    }
}