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
92
93
94
package com.qianwen.smartman.modules.coproduction.dto;
 
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/ReportWorkDTO.class */
public class ReportWorkDTO {
    @NotBlank(message = "计划id必传")
    @ApiModelProperty("计划id")
    private String planId;
    @NotBlank(message = "工单id必传")
    @ApiModelProperty("工单id")
    private String orderId;
    @NotNull(message = "报工数据不能为空")
    @ApiModelProperty("报工数据")
    private List<OrderProcessReportWorkDTO> reportWorkDTOList;
 
    public void setPlanId(final String planId) {
        this.planId = planId;
    }
 
    public void setOrderId(final String orderId) {
        this.orderId = orderId;
    }
 
    public void setReportWorkDTOList(final List<OrderProcessReportWorkDTO> reportWorkDTOList) {
        this.reportWorkDTOList = reportWorkDTOList;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ReportWorkDTO) {
            ReportWorkDTO other = (ReportWorkDTO) o;
            if (other.canEqual(this)) {
                Object this$planId = getPlanId();
                Object other$planId = other.getPlanId();
                if (this$planId == null) {
                    if (other$planId != null) {
                        return false;
                    }
                } else if (!this$planId.equals(other$planId)) {
                    return false;
                }
                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$reportWorkDTOList = getReportWorkDTOList();
                Object other$reportWorkDTOList = other.getReportWorkDTOList();
                return this$reportWorkDTOList == null ? other$reportWorkDTOList == null : this$reportWorkDTOList.equals(other$reportWorkDTOList);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ReportWorkDTO;
    }
 
    public int hashCode() {
        Object $planId = getPlanId();
        int result = (1 * 59) + ($planId == null ? 43 : $planId.hashCode());
        Object $orderId = getOrderId();
        int result2 = (result * 59) + ($orderId == null ? 43 : $orderId.hashCode());
        Object $reportWorkDTOList = getReportWorkDTOList();
        return (result2 * 59) + ($reportWorkDTOList == null ? 43 : $reportWorkDTOList.hashCode());
    }
 
    public String toString() {
        return "ReportWorkDTO(planId=" + getPlanId() + ", orderId=" + getOrderId() + ", reportWorkDTOList=" + getReportWorkDTOList() + ")";
    }
 
    public String getPlanId() {
        return this.planId;
    }
 
    public String getOrderId() {
        return this.orderId;
    }
 
    public List<OrderProcessReportWorkDTO> getReportWorkDTOList() {
        return this.reportWorkDTOList;
    }
}