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
95
96
97
98
99
100
101
102
103
104
105
106
107
package com.qianwen.smartman.modules.coproduction.dto;
 
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import com.qianwen.smartman.common.constant.ExcelConstant;
import com.qianwen.smartman.modules.coproduction.entity.OrderReportRecord;
import com.qianwen.smartman.modules.coproduction.entity.OrderWorkstation;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/OrderRecordAndWorkStationDTO.class */
public class OrderRecordAndWorkStationDTO {
    @ApiModelProperty(ExcelConstant.ORDER_REPORT_RECORD)
    private List<OrderReportRecord> reportRecords;
    @ApiModelProperty("报工工位")
    private List<OrderWorkstation> orderWorkstations;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/OrderRecordAndWorkStationDTO$OrderRecordAndWorkStationDTOBuilder.class */
    public static class OrderRecordAndWorkStationDTOBuilder {
        private List<OrderReportRecord> reportRecords;
        private List<OrderWorkstation> orderWorkstations;
 
        OrderRecordAndWorkStationDTOBuilder() {
        }
 
        public OrderRecordAndWorkStationDTOBuilder reportRecords(final List<OrderReportRecord> reportRecords) {
            this.reportRecords = reportRecords;
            return this;
        }
 
        public OrderRecordAndWorkStationDTOBuilder orderWorkstations(final List<OrderWorkstation> orderWorkstations) {
            this.orderWorkstations = orderWorkstations;
            return this;
        }
 
        public OrderRecordAndWorkStationDTO build() {
            return new OrderRecordAndWorkStationDTO(this.reportRecords, this.orderWorkstations);
        }
 
        public String toString() {
            return "OrderRecordAndWorkStationDTO.OrderRecordAndWorkStationDTOBuilder(reportRecords=" + this.reportRecords + ", orderWorkstations=" + this.orderWorkstations + ")";
        }
    }
 
    public void setReportRecords(final List<OrderReportRecord> reportRecords) {
        this.reportRecords = reportRecords;
    }
 
    public void setOrderWorkstations(final List<OrderWorkstation> orderWorkstations) {
        this.orderWorkstations = orderWorkstations;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof OrderRecordAndWorkStationDTO) {
            OrderRecordAndWorkStationDTO other = (OrderRecordAndWorkStationDTO) o;
            if (other.canEqual(this)) {
                Object this$reportRecords = getReportRecords();
                Object other$reportRecords = other.getReportRecords();
                if (this$reportRecords == null) {
                    if (other$reportRecords != null) {
                        return false;
                    }
                } else if (!this$reportRecords.equals(other$reportRecords)) {
                    return false;
                }
                Object this$orderWorkstations = getOrderWorkstations();
                Object other$orderWorkstations = other.getOrderWorkstations();
                return this$orderWorkstations == null ? other$orderWorkstations == null : this$orderWorkstations.equals(other$orderWorkstations);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof OrderRecordAndWorkStationDTO;
    }
 
    public int hashCode() {
        Object $reportRecords = getReportRecords();
        int result = (1 * 59) + ($reportRecords == null ? 43 : $reportRecords.hashCode());
        Object $orderWorkstations = getOrderWorkstations();
        return (result * 59) + ($orderWorkstations == null ? 43 : $orderWorkstations.hashCode());
    }
 
    public String toString() {
        return "OrderRecordAndWorkStationDTO(reportRecords=" + getReportRecords() + ", orderWorkstations=" + getOrderWorkstations() + ")";
    }
 
    OrderRecordAndWorkStationDTO(final List<OrderReportRecord> reportRecords, final List<OrderWorkstation> orderWorkstations) {
        this.reportRecords = reportRecords;
        this.orderWorkstations = orderWorkstations;
    }
 
    public static OrderRecordAndWorkStationDTOBuilder builder() {
        return new OrderRecordAndWorkStationDTOBuilder();
    }
 
    public List<OrderReportRecord> getReportRecords() {
        return this.reportRecords;
    }
 
    public List<OrderWorkstation> getOrderWorkstations() {
        return this.orderWorkstations;
    }
}