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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
package com.qianwen.smartman.modules.coproduction.dto;
 
import java.util.Map;
import com.qianwen.smartman.modules.coproduction.entity.Order;
import com.qianwen.smartman.modules.coproduction.entity.OrderProcess;
import com.qianwen.smartman.modules.coproduction.entity.OrderReportRecord;
import com.qianwen.smartman.modules.coproduction.entity.OrderWorkstation;
import com.qianwen.smartman.modules.coproduction.entity.Plan;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/ReportSourceDTO.class */
public class ReportSourceDTO {
    private Map<Long, OrderReportRecord> startRecordsMap;
    private Map<Long, Plan> planMap;
    private Map<String, OrderWorkstation> orderWorkstationMap;
    private Map<Long, OrderProcess> orderProcessMap;
    private Map<Long, Order> orderMap;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/ReportSourceDTO$ReportSourceDTOBuilder.class */
    public static class ReportSourceDTOBuilder {
        private Map<Long, OrderReportRecord> startRecordsMap;
        private Map<Long, Plan> planMap;
        private Map<String, OrderWorkstation> orderWorkstationMap;
        private Map<Long, OrderProcess> orderProcessMap;
        private Map<Long, Order> orderMap;
 
        ReportSourceDTOBuilder() {
        }
 
        public ReportSourceDTOBuilder startRecordsMap(final Map<Long, OrderReportRecord> startRecordsMap) {
            this.startRecordsMap = startRecordsMap;
            return this;
        }
 
        public ReportSourceDTOBuilder planMap(final Map<Long, Plan> planMap) {
            this.planMap = planMap;
            return this;
        }
 
        public ReportSourceDTOBuilder orderWorkstationMap(final Map<String, OrderWorkstation> orderWorkstationMap) {
            this.orderWorkstationMap = orderWorkstationMap;
            return this;
        }
 
        public ReportSourceDTOBuilder orderProcessMap(final Map<Long, OrderProcess> orderProcessMap) {
            this.orderProcessMap = orderProcessMap;
            return this;
        }
 
        public ReportSourceDTOBuilder orderMap(final Map<Long, Order> orderMap) {
            this.orderMap = orderMap;
            return this;
        }
 
        public ReportSourceDTO build() {
            return new ReportSourceDTO(this.startRecordsMap, this.planMap, this.orderWorkstationMap, this.orderProcessMap, this.orderMap);
        }
 
        public String toString() {
            return "ReportSourceDTO.ReportSourceDTOBuilder(startRecordsMap=" + this.startRecordsMap + ", planMap=" + this.planMap + ", orderWorkstationMap=" + this.orderWorkstationMap + ", orderProcessMap=" + this.orderProcessMap + ", orderMap=" + this.orderMap + ")";
        }
    }
 
    public void setStartRecordsMap(final Map<Long, OrderReportRecord> startRecordsMap) {
        this.startRecordsMap = startRecordsMap;
    }
 
    public void setPlanMap(final Map<Long, Plan> planMap) {
        this.planMap = planMap;
    }
 
    public void setOrderWorkstationMap(final Map<String, OrderWorkstation> orderWorkstationMap) {
        this.orderWorkstationMap = orderWorkstationMap;
    }
 
    public void setOrderProcessMap(final Map<Long, OrderProcess> orderProcessMap) {
        this.orderProcessMap = orderProcessMap;
    }
 
    public void setOrderMap(final Map<Long, Order> orderMap) {
        this.orderMap = orderMap;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ReportSourceDTO) {
            ReportSourceDTO other = (ReportSourceDTO) o;
            if (other.canEqual(this)) {
                Object this$startRecordsMap = getStartRecordsMap();
                Object other$startRecordsMap = other.getStartRecordsMap();
                if (this$startRecordsMap == null) {
                    if (other$startRecordsMap != null) {
                        return false;
                    }
                } else if (!this$startRecordsMap.equals(other$startRecordsMap)) {
                    return false;
                }
                Object this$planMap = getPlanMap();
                Object other$planMap = other.getPlanMap();
                if (this$planMap == null) {
                    if (other$planMap != null) {
                        return false;
                    }
                } else if (!this$planMap.equals(other$planMap)) {
                    return false;
                }
                Object this$orderWorkstationMap = getOrderWorkstationMap();
                Object other$orderWorkstationMap = other.getOrderWorkstationMap();
                if (this$orderWorkstationMap == null) {
                    if (other$orderWorkstationMap != null) {
                        return false;
                    }
                } else if (!this$orderWorkstationMap.equals(other$orderWorkstationMap)) {
                    return false;
                }
                Object this$orderProcessMap = getOrderProcessMap();
                Object other$orderProcessMap = other.getOrderProcessMap();
                if (this$orderProcessMap == null) {
                    if (other$orderProcessMap != null) {
                        return false;
                    }
                } else if (!this$orderProcessMap.equals(other$orderProcessMap)) {
                    return false;
                }
                Object this$orderMap = getOrderMap();
                Object other$orderMap = other.getOrderMap();
                return this$orderMap == null ? other$orderMap == null : this$orderMap.equals(other$orderMap);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ReportSourceDTO;
    }
 
    public int hashCode() {
        Object $startRecordsMap = getStartRecordsMap();
        int result = (1 * 59) + ($startRecordsMap == null ? 43 : $startRecordsMap.hashCode());
        Object $planMap = getPlanMap();
        int result2 = (result * 59) + ($planMap == null ? 43 : $planMap.hashCode());
        Object $orderWorkstationMap = getOrderWorkstationMap();
        int result3 = (result2 * 59) + ($orderWorkstationMap == null ? 43 : $orderWorkstationMap.hashCode());
        Object $orderProcessMap = getOrderProcessMap();
        int result4 = (result3 * 59) + ($orderProcessMap == null ? 43 : $orderProcessMap.hashCode());
        Object $orderMap = getOrderMap();
        return (result4 * 59) + ($orderMap == null ? 43 : $orderMap.hashCode());
    }
 
    public String toString() {
        return "ReportSourceDTO(startRecordsMap=" + getStartRecordsMap() + ", planMap=" + getPlanMap() + ", orderWorkstationMap=" + getOrderWorkstationMap() + ", orderProcessMap=" + getOrderProcessMap() + ", orderMap=" + getOrderMap() + ")";
    }
 
    ReportSourceDTO(final Map<Long, OrderReportRecord> startRecordsMap, final Map<Long, Plan> planMap, final Map<String, OrderWorkstation> orderWorkstationMap, final Map<Long, OrderProcess> orderProcessMap, final Map<Long, Order> orderMap) {
        this.startRecordsMap = startRecordsMap;
        this.planMap = planMap;
        this.orderWorkstationMap = orderWorkstationMap;
        this.orderProcessMap = orderProcessMap;
        this.orderMap = orderMap;
    }
 
    public static ReportSourceDTOBuilder builder() {
        return new ReportSourceDTOBuilder();
    }
 
    public Map<Long, OrderReportRecord> getStartRecordsMap() {
        return this.startRecordsMap;
    }
 
    public Map<Long, Plan> getPlanMap() {
        return this.planMap;
    }
 
    public Map<String, OrderWorkstation> getOrderWorkstationMap() {
        return this.orderWorkstationMap;
    }
 
    public Map<Long, OrderProcess> getOrderProcessMap() {
        return this.orderProcessMap;
    }
 
    public Map<Long, Order> getOrderMap() {
        return this.orderMap;
    }
}