yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
package com.qianwen.smartman.modules.cps.entity;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
@ApiModel(value = "班次日entity", description = "班次日entity")
@TableName("blade_production_calendar_day")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/ProductionCalendarDay.class */
public class ProductionCalendarDay implements Serializable {
    private static final long serialVersionUID = 6935830020987594867L;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    @ApiModelProperty("生产日历id")
    private Long calendarId;
    @ApiModelProperty("生产日历日期")
    private LocalDate calendarDate;
    @ApiModelProperty("班次日开始时间")
    private LocalDateTime startTime;
    @ApiModelProperty("班次日结束时间")
    private LocalDateTime endTime;
    @ApiModelProperty("属于第几周")
    private Integer week;
    @ApiModelProperty("属于第几月")
    private Integer month;
    @ApiModelProperty("属于第几年")
    private Integer year;
    @ApiModelProperty("班次模型Id")
    private Long modelId;
    @ApiModelProperty("是否高优先级")
    private Integer isHighPriority;
    @ApiModelProperty("是否是休息日(0:否,1:是)")
    private Integer isOffDay;
    @ApiModelProperty("休息日Id")
    private Long offId;
    @TableLogic
    @TableField(value = "is_deleted", fill = FieldFill.INSERT)
    private boolean isDeleted;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/ProductionCalendarDay$ProductionCalendarDayBuilder.class */
    public static class ProductionCalendarDayBuilder {
        private Long id;
        private Long calendarId;
        private LocalDate calendarDate;
        private LocalDateTime startTime;
        private LocalDateTime endTime;
        private Integer week;
        private Integer month;
        private Integer year;
        private Long modelId;
        private Integer isHighPriority;
        private Integer isOffDay;
        private Long offId;
        private boolean isDeleted;
 
        ProductionCalendarDayBuilder() {
        }
 
        public ProductionCalendarDayBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public ProductionCalendarDayBuilder calendarId(final Long calendarId) {
            this.calendarId = calendarId;
            return this;
        }
 
        public ProductionCalendarDayBuilder calendarDate(final LocalDate calendarDate) {
            this.calendarDate = calendarDate;
            return this;
        }
 
        public ProductionCalendarDayBuilder startTime(final LocalDateTime startTime) {
            this.startTime = startTime;
            return this;
        }
 
        public ProductionCalendarDayBuilder endTime(final LocalDateTime endTime) {
            this.endTime = endTime;
            return this;
        }
 
        public ProductionCalendarDayBuilder week(final Integer week) {
            this.week = week;
            return this;
        }
 
        public ProductionCalendarDayBuilder month(final Integer month) {
            this.month = month;
            return this;
        }
 
        public ProductionCalendarDayBuilder year(final Integer year) {
            this.year = year;
            return this;
        }
 
        public ProductionCalendarDayBuilder modelId(final Long modelId) {
            this.modelId = modelId;
            return this;
        }
 
        public ProductionCalendarDayBuilder isHighPriority(final Integer isHighPriority) {
            this.isHighPriority = isHighPriority;
            return this;
        }
 
        public ProductionCalendarDayBuilder isOffDay(final Integer isOffDay) {
            this.isOffDay = isOffDay;
            return this;
        }
 
        public ProductionCalendarDayBuilder offId(final Long offId) {
            this.offId = offId;
            return this;
        }
 
        public ProductionCalendarDayBuilder isDeleted(final boolean isDeleted) {
            this.isDeleted = isDeleted;
            return this;
        }
 
        public ProductionCalendarDay build() {
            return new ProductionCalendarDay(this.id, this.calendarId, this.calendarDate, this.startTime, this.endTime, this.week, this.month, this.year, this.modelId, this.isHighPriority, this.isOffDay, this.offId, this.isDeleted);
        }
 
        public String toString() {
            return "ProductionCalendarDay.ProductionCalendarDayBuilder(id=" + this.id + ", calendarId=" + this.calendarId + ", calendarDate=" + this.calendarDate + ", startTime=" + this.startTime + ", endTime=" + this.endTime + ", week=" + this.week + ", month=" + this.month + ", year=" + this.year + ", modelId=" + this.modelId + ", isHighPriority=" + this.isHighPriority + ", isOffDay=" + this.isOffDay + ", offId=" + this.offId + ", isDeleted=" + this.isDeleted + ")";
        }
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setCalendarId(final Long calendarId) {
        this.calendarId = calendarId;
    }
 
    public void setCalendarDate(final LocalDate calendarDate) {
        this.calendarDate = calendarDate;
    }
 
    public void setStartTime(final LocalDateTime startTime) {
        this.startTime = startTime;
    }
 
    public void setEndTime(final LocalDateTime endTime) {
        this.endTime = endTime;
    }
 
    public void setWeek(final Integer week) {
        this.week = week;
    }
 
    public void setMonth(final Integer month) {
        this.month = month;
    }
 
    public void setYear(final Integer year) {
        this.year = year;
    }
 
    public void setModelId(final Long modelId) {
        this.modelId = modelId;
    }
 
    public void setIsHighPriority(final Integer isHighPriority) {
        this.isHighPriority = isHighPriority;
    }
 
    public void setIsOffDay(final Integer isOffDay) {
        this.isOffDay = isOffDay;
    }
 
    public void setOffId(final Long offId) {
        this.offId = offId;
    }
 
    public void setDeleted(final boolean isDeleted) {
        this.isDeleted = isDeleted;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ProductionCalendarDay) {
            ProductionCalendarDay other = (ProductionCalendarDay) o;
            if (other.canEqual(this) && isDeleted() == other.isDeleted()) {
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$calendarId = getCalendarId();
                Object other$calendarId = other.getCalendarId();
                if (this$calendarId == null) {
                    if (other$calendarId != null) {
                        return false;
                    }
                } else if (!this$calendarId.equals(other$calendarId)) {
                    return false;
                }
                Object this$week = getWeek();
                Object other$week = other.getWeek();
                if (this$week == null) {
                    if (other$week != null) {
                        return false;
                    }
                } else if (!this$week.equals(other$week)) {
                    return false;
                }
                Object this$month = getMonth();
                Object other$month = other.getMonth();
                if (this$month == null) {
                    if (other$month != null) {
                        return false;
                    }
                } else if (!this$month.equals(other$month)) {
                    return false;
                }
                Object this$year = getYear();
                Object other$year = other.getYear();
                if (this$year == null) {
                    if (other$year != null) {
                        return false;
                    }
                } else if (!this$year.equals(other$year)) {
                    return false;
                }
                Object this$modelId = getModelId();
                Object other$modelId = other.getModelId();
                if (this$modelId == null) {
                    if (other$modelId != null) {
                        return false;
                    }
                } else if (!this$modelId.equals(other$modelId)) {
                    return false;
                }
                Object this$isHighPriority = getIsHighPriority();
                Object other$isHighPriority = other.getIsHighPriority();
                if (this$isHighPriority == null) {
                    if (other$isHighPriority != null) {
                        return false;
                    }
                } else if (!this$isHighPriority.equals(other$isHighPriority)) {
                    return false;
                }
                Object this$isOffDay = getIsOffDay();
                Object other$isOffDay = other.getIsOffDay();
                if (this$isOffDay == null) {
                    if (other$isOffDay != null) {
                        return false;
                    }
                } else if (!this$isOffDay.equals(other$isOffDay)) {
                    return false;
                }
                Object this$offId = getOffId();
                Object other$offId = other.getOffId();
                if (this$offId == null) {
                    if (other$offId != null) {
                        return false;
                    }
                } else if (!this$offId.equals(other$offId)) {
                    return false;
                }
                Object this$calendarDate = getCalendarDate();
                Object other$calendarDate = other.getCalendarDate();
                if (this$calendarDate == null) {
                    if (other$calendarDate != null) {
                        return false;
                    }
                } else if (!this$calendarDate.equals(other$calendarDate)) {
                    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;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ProductionCalendarDay;
    }
 
    public int hashCode() {
        int result = (1 * 59) + (isDeleted() ? 79 : 97);
        Object $id = getId();
        int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode());
        Object $calendarId = getCalendarId();
        int result3 = (result2 * 59) + ($calendarId == null ? 43 : $calendarId.hashCode());
        Object $week = getWeek();
        int result4 = (result3 * 59) + ($week == null ? 43 : $week.hashCode());
        Object $month = getMonth();
        int result5 = (result4 * 59) + ($month == null ? 43 : $month.hashCode());
        Object $year = getYear();
        int result6 = (result5 * 59) + ($year == null ? 43 : $year.hashCode());
        Object $modelId = getModelId();
        int result7 = (result6 * 59) + ($modelId == null ? 43 : $modelId.hashCode());
        Object $isHighPriority = getIsHighPriority();
        int result8 = (result7 * 59) + ($isHighPriority == null ? 43 : $isHighPriority.hashCode());
        Object $isOffDay = getIsOffDay();
        int result9 = (result8 * 59) + ($isOffDay == null ? 43 : $isOffDay.hashCode());
        Object $offId = getOffId();
        int result10 = (result9 * 59) + ($offId == null ? 43 : $offId.hashCode());
        Object $calendarDate = getCalendarDate();
        int result11 = (result10 * 59) + ($calendarDate == null ? 43 : $calendarDate.hashCode());
        Object $startTime = getStartTime();
        int result12 = (result11 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $endTime = getEndTime();
        return (result12 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
    }
 
    public String toString() {
        return "ProductionCalendarDay(id=" + getId() + ", calendarId=" + getCalendarId() + ", calendarDate=" + getCalendarDate() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", week=" + getWeek() + ", month=" + getMonth() + ", year=" + getYear() + ", modelId=" + getModelId() + ", isHighPriority=" + getIsHighPriority() + ", isOffDay=" + getIsOffDay() + ", offId=" + getOffId() + ", isDeleted=" + isDeleted() + ")";
    }
 
    public static ProductionCalendarDayBuilder builder() {
        return new ProductionCalendarDayBuilder();
    }
 
    public ProductionCalendarDay() {
    }
 
    public ProductionCalendarDay(final Long id, final Long calendarId, final LocalDate calendarDate, final LocalDateTime startTime, final LocalDateTime endTime, final Integer week, final Integer month, final Integer year, final Long modelId, final Integer isHighPriority, final Integer isOffDay, final Long offId, final boolean isDeleted) {
        this.id = id;
        this.calendarId = calendarId;
        this.calendarDate = calendarDate;
        this.startTime = startTime;
        this.endTime = endTime;
        this.week = week;
        this.month = month;
        this.year = year;
        this.modelId = modelId;
        this.isHighPriority = isHighPriority;
        this.isOffDay = isOffDay;
        this.offId = offId;
        this.isDeleted = isDeleted;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Long getCalendarId() {
        return this.calendarId;
    }
 
    public LocalDate getCalendarDate() {
        return this.calendarDate;
    }
 
    public LocalDateTime getStartTime() {
        return this.startTime;
    }
 
    public LocalDateTime getEndTime() {
        return this.endTime;
    }
 
    public Integer getWeek() {
        return this.week;
    }
 
    public Integer getMonth() {
        return this.month;
    }
 
    public Integer getYear() {
        return this.year;
    }
 
    public Long getModelId() {
        return this.modelId;
    }
 
    public Integer getIsHighPriority() {
        return this.isHighPriority;
    }
 
    public Integer getIsOffDay() {
        return this.isOffDay;
    }
 
    public Long getOffId() {
        return this.offId;
    }
 
    public boolean isDeleted() {
        return this.isDeleted;
    }
}