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
package com.qianwen.smartman.modules.coproduction.dto;
 
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.qianwen.smartman.modules.cps.entity.BomVersion;
import com.qianwen.smartman.modules.cps.entity.CraftRouting;
import com.qianwen.smartman.modules.cps.entity.Product;
import com.qianwen.smartman.modules.system.entity.CustomTemplate;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/PlanImportCheckMapDTO.class */
public class PlanImportCheckMapDTO {
    Map<String, CraftRouting> craftMap = new HashMap();
    Map<Long, Map<String, Long>> craftVersionMap = new HashMap();
    Map<String, BomVersion> bomVersionMap = new HashMap();
    Map<String, Product> productMap = new HashMap();
    Map<String, CustomTemplate> planTypeMap = new HashMap();
    Map<Long, List<Long>> planTypeProductMap = new HashMap();
 
    public void setCraftMap(final Map<String, CraftRouting> craftMap) {
        this.craftMap = craftMap;
    }
 
    public void setCraftVersionMap(final Map<Long, Map<String, Long>> craftVersionMap) {
        this.craftVersionMap = craftVersionMap;
    }
 
    public void setBomVersionMap(final Map<String, BomVersion> bomVersionMap) {
        this.bomVersionMap = bomVersionMap;
    }
 
    public void setProductMap(final Map<String, Product> productMap) {
        this.productMap = productMap;
    }
 
    public void setPlanTypeMap(final Map<String, CustomTemplate> planTypeMap) {
        this.planTypeMap = planTypeMap;
    }
 
    public void setPlanTypeProductMap(final Map<Long, List<Long>> planTypeProductMap) {
        this.planTypeProductMap = planTypeProductMap;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof PlanImportCheckMapDTO) {
            PlanImportCheckMapDTO other = (PlanImportCheckMapDTO) o;
            if (other.canEqual(this)) {
                Object this$craftMap = getCraftMap();
                Object other$craftMap = other.getCraftMap();
                if (this$craftMap == null) {
                    if (other$craftMap != null) {
                        return false;
                    }
                } else if (!this$craftMap.equals(other$craftMap)) {
                    return false;
                }
                Object this$craftVersionMap = getCraftVersionMap();
                Object other$craftVersionMap = other.getCraftVersionMap();
                if (this$craftVersionMap == null) {
                    if (other$craftVersionMap != null) {
                        return false;
                    }
                } else if (!this$craftVersionMap.equals(other$craftVersionMap)) {
                    return false;
                }
                Object this$bomVersionMap = getBomVersionMap();
                Object other$bomVersionMap = other.getBomVersionMap();
                if (this$bomVersionMap == null) {
                    if (other$bomVersionMap != null) {
                        return false;
                    }
                } else if (!this$bomVersionMap.equals(other$bomVersionMap)) {
                    return false;
                }
                Object this$productMap = getProductMap();
                Object other$productMap = other.getProductMap();
                if (this$productMap == null) {
                    if (other$productMap != null) {
                        return false;
                    }
                } else if (!this$productMap.equals(other$productMap)) {
                    return false;
                }
                Object this$planTypeMap = getPlanTypeMap();
                Object other$planTypeMap = other.getPlanTypeMap();
                if (this$planTypeMap == null) {
                    if (other$planTypeMap != null) {
                        return false;
                    }
                } else if (!this$planTypeMap.equals(other$planTypeMap)) {
                    return false;
                }
                Object this$planTypeProductMap = getPlanTypeProductMap();
                Object other$planTypeProductMap = other.getPlanTypeProductMap();
                return this$planTypeProductMap == null ? other$planTypeProductMap == null : this$planTypeProductMap.equals(other$planTypeProductMap);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof PlanImportCheckMapDTO;
    }
 
    public int hashCode() {
        Object $craftMap = getCraftMap();
        int result = (1 * 59) + ($craftMap == null ? 43 : $craftMap.hashCode());
        Object $craftVersionMap = getCraftVersionMap();
        int result2 = (result * 59) + ($craftVersionMap == null ? 43 : $craftVersionMap.hashCode());
        Object $bomVersionMap = getBomVersionMap();
        int result3 = (result2 * 59) + ($bomVersionMap == null ? 43 : $bomVersionMap.hashCode());
        Object $productMap = getProductMap();
        int result4 = (result3 * 59) + ($productMap == null ? 43 : $productMap.hashCode());
        Object $planTypeMap = getPlanTypeMap();
        int result5 = (result4 * 59) + ($planTypeMap == null ? 43 : $planTypeMap.hashCode());
        Object $planTypeProductMap = getPlanTypeProductMap();
        return (result5 * 59) + ($planTypeProductMap == null ? 43 : $planTypeProductMap.hashCode());
    }
 
    public String toString() {
        return "PlanImportCheckMapDTO(craftMap=" + getCraftMap() + ", craftVersionMap=" + getCraftVersionMap() + ", bomVersionMap=" + getBomVersionMap() + ", productMap=" + getProductMap() + ", planTypeMap=" + getPlanTypeMap() + ", planTypeProductMap=" + getPlanTypeProductMap() + ")";
    }
 
    public Map<String, CraftRouting> getCraftMap() {
        return this.craftMap;
    }
 
    public Map<Long, Map<String, Long>> getCraftVersionMap() {
        return this.craftVersionMap;
    }
 
    public Map<String, BomVersion> getBomVersionMap() {
        return this.bomVersionMap;
    }
 
    public Map<String, Product> getProductMap() {
        return this.productMap;
    }
 
    public Map<String, CustomTemplate> getPlanTypeMap() {
        return this.planTypeMap;
    }
 
    public Map<Long, List<Long>> getPlanTypeProductMap() {
        return this.planTypeProductMap;
    }
}