yangys
2024-05-11 522dafb06be3374f27d087c370bcf06027e0f1cc
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
package com.qianwen.smartman.modules.mdc.entity;
 
import java.sql.Timestamp;
 
public class SuperAggregateState extends SuperAggregate {
    private Timestamp startTime;
    private Timestamp endTime;
    /**
     * 采集的期间/时长。单位秒?
     */
    private Long durationCollect;
    private Integer valueCollect;
    /**
     * 工况
     */
    private Integer wcs;
    /**
     * 效率?
     */
    private Integer rps;
    private Boolean isDeleted;
    private Integer isPlan;
    private Long employeeId;
    private Long feedbackId;
 
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof SuperAggregateState) {
            SuperAggregateState other = (SuperAggregateState) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$durationCollect = getDurationCollect();
                Object other$durationCollect = other.getDurationCollect();
                if (this$durationCollect == null) {
                    if (other$durationCollect != null) {
                        return false;
                    }
                } else if (!this$durationCollect.equals(other$durationCollect)) {
                    return false;
                }
                Object this$valueCollect = getValueCollect();
                Object other$valueCollect = other.getValueCollect();
                if (this$valueCollect == null) {
                    if (other$valueCollect != null) {
                        return false;
                    }
                } else if (!this$valueCollect.equals(other$valueCollect)) {
                    return false;
                }
                Object this$wcs = getWcs();
                Object other$wcs = other.getWcs();
                if (this$wcs == null) {
                    if (other$wcs != null) {
                        return false;
                    }
                } else if (!this$wcs.equals(other$wcs)) {
                    return false;
                }
                Object this$rps = getRps();
                Object other$rps = other.getRps();
                if (this$rps == null) {
                    if (other$rps != null) {
                        return false;
                    }
                } else if (!this$rps.equals(other$rps)) {
                    return false;
                }
                Object this$isDeleted = getIsDeleted();
                Object other$isDeleted = other.getIsDeleted();
                if (this$isDeleted == null) {
                    if (other$isDeleted != null) {
                        return false;
                    }
                } else if (!this$isDeleted.equals(other$isDeleted)) {
                    return false;
                }
                Object this$isPlan = getIsPlan();
                Object other$isPlan = other.getIsPlan();
                if (this$isPlan == null) {
                    if (other$isPlan != null) {
                        return false;
                    }
                } else if (!this$isPlan.equals(other$isPlan)) {
                    return false;
                }
                Object this$employeeId = getEmployeeId();
                Object other$employeeId = other.getEmployeeId();
                if (this$employeeId == null) {
                    if (other$employeeId != null) {
                        return false;
                    }
                } else if (!this$employeeId.equals(other$employeeId)) {
                    return false;
                }
                Object this$feedbackId = getFeedbackId();
                Object other$feedbackId = other.getFeedbackId();
                if (this$feedbackId == null) {
                    if (other$feedbackId != null) {
                        return false;
                    }
                } else if (!this$feedbackId.equals(other$feedbackId)) {
                    return false;
                }
                Object this$startTime = getStartTime();
                Object other$startTime = other.getStartTime();
                if (this$startTime == null) {
                    if (other$startTime != null) {
                        return false;
                    }
                } else if (!this$startTime.equals(other$startTime)) {
                    return false;
                }
                Object this$endTime = getEndTime();
                Object other$endTime = other.getEndTime();
                return this$endTime == null ? other$endTime == null : this$endTime.equals(other$endTime);
            }
            return false;
        }
        return false;
    }
 
    @Override // org.springblade.modules.mdc.entity.SuperAggregate
    protected boolean canEqual(final Object other) {
        return other instanceof SuperAggregateState;
    }
 
    @Override // org.springblade.modules.mdc.entity.SuperAggregate
    public int hashCode() {
        int result = super.hashCode();
        Object $durationCollect = getDurationCollect();
        int result2 = (result * 59) + ($durationCollect == null ? 43 : $durationCollect.hashCode());
        Object $valueCollect = getValueCollect();
        int result3 = (result2 * 59) + ($valueCollect == null ? 43 : $valueCollect.hashCode());
        Object $wcs = getWcs();
        int result4 = (result3 * 59) + ($wcs == null ? 43 : $wcs.hashCode());
        Object $rps = getRps();
        int result5 = (result4 * 59) + ($rps == null ? 43 : $rps.hashCode());
        Object $isDeleted = getIsDeleted();
        int result6 = (result5 * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode());
        Object $isPlan = getIsPlan();
        int result7 = (result6 * 59) + ($isPlan == null ? 43 : $isPlan.hashCode());
        Object $employeeId = getEmployeeId();
        int result8 = (result7 * 59) + ($employeeId == null ? 43 : $employeeId.hashCode());
        Object $feedbackId = getFeedbackId();
        int result9 = (result8 * 59) + ($feedbackId == null ? 43 : $feedbackId.hashCode());
        Object $startTime = getStartTime();
        int result10 = (result9 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $endTime = getEndTime();
        return (result10 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
    }
 
    public void setStartTime(final Timestamp startTime) {
        this.startTime = startTime;
    }
 
    public void setEndTime(final Timestamp endTime) {
        this.endTime = endTime;
    }
 
    public void setDurationCollect(final Long durationCollect) {
        this.durationCollect = durationCollect;
    }
 
    public void setValueCollect(final Integer valueCollect) {
        this.valueCollect = valueCollect;
    }
 
    public void setWcs(final Integer wcs) {
        this.wcs = wcs;
    }
 
    public void setRps(final Integer rps) {
        this.rps = rps;
    }
 
    public void setIsDeleted(final Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }
 
    public void setIsPlan(final Integer isPlan) {
        this.isPlan = isPlan;
    }
 
    public void setEmployeeId(final Long employeeId) {
        this.employeeId = employeeId;
    }
 
    public void setFeedbackId(final Long feedbackId) {
        this.feedbackId = feedbackId;
    }
 
    @Override // org.springblade.modules.mdc.entity.SuperAggregate
    public String toString() {
        return "SuperAggregateState(startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", durationCollect=" + getDurationCollect() + ", valueCollect=" + getValueCollect() + ", wcs=" + getWcs() + ", rps=" + getRps() + ", isDeleted=" + getIsDeleted() + ", isPlan=" + getIsPlan() + ", employeeId=" + getEmployeeId() + ", feedbackId=" + getFeedbackId() + ")";
    }
 
    public SuperAggregateState() {
    }
 
    public SuperAggregateState(final Timestamp startTime, final Timestamp endTime, final Long durationCollect, final Integer valueCollect, final Integer wcs, final Integer rps, final Boolean isDeleted, final Integer isPlan, final Long employeeId, final Long feedbackId) {
        this.startTime = startTime;
        this.endTime = endTime;
        this.durationCollect = durationCollect;
        this.valueCollect = valueCollect;
        this.wcs = wcs;
        this.rps = rps;
        this.isDeleted = isDeleted;
        this.isPlan = isPlan;
        this.employeeId = employeeId;
        this.feedbackId = feedbackId;
    }
 
    public Timestamp getStartTime() {
        return this.startTime;
    }
 
    public Timestamp getEndTime() {
        return this.endTime;
    }
 
    public Long getDurationCollect() {
        return this.durationCollect;
    }
 
    public Integer getValueCollect() {
        return this.valueCollect;
    }
 
    public Integer getWcs() {
        return this.wcs;
    }
 
    public Integer getRps() {
        return this.rps;
    }
 
    public Boolean getIsDeleted() {
        return this.isDeleted;
    }
 
    public Integer getIsPlan() {
        return this.isPlan;
    }
 
    public Long getEmployeeId() {
        return this.employeeId;
    }
 
    public Long getFeedbackId() {
        return this.feedbackId;
    }
}