PC
2024-03-31 608f20e0d5d8f95d9bbb917e95e2913682deb77d
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
package com.qianwen.smartman.modules.cps.vo;
 
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
 
@ApiModel(value = "CalendarDayVO", description = "生产日历具体日期")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/CalendarDayVO.class */
public class CalendarDayVO implements Serializable {
    private static final long serialVersionUID = 1599365972415762214L;
    @ApiModelProperty(value = "主键Id", dataType = "java.lang.String")
    private Long id;
    @JsonSerialize(using = LocalDateSerializer.class)
    @JsonDeserialize(using = LocalDateDeserializer.class)
    @ApiModelProperty("班次日")
    private LocalDate calendarDate;
    @ApiModelProperty(value = "班次模型Id", dataType = "java.lang.String")
    private Long modelId;
    @ApiModelProperty("是否高优先级(0:否,1:是)")
    private Integer isHighPriority;
    @ApiModelProperty("班次模型名称")
    private String modelName;
    @ApiModelProperty("是否休息日(0:否,1:是)")
    private Integer isOffDay;
    @ApiModelProperty("休息日备注")
    private String offDayRemark;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/CalendarDayVO$CalendarDayVOBuilder.class */
    public static class CalendarDayVOBuilder {
        private Long id;
        private LocalDate calendarDate;
        private Long modelId;
        private Integer isHighPriority;
        private String modelName;
        private Integer isOffDay;
        private String offDayRemark;
 
        CalendarDayVOBuilder() {
        }
 
        public CalendarDayVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        @JsonDeserialize(using = LocalDateDeserializer.class)
        public CalendarDayVOBuilder calendarDate(final LocalDate calendarDate) {
            this.calendarDate = calendarDate;
            return this;
        }
 
        public CalendarDayVOBuilder modelId(final Long modelId) {
            this.modelId = modelId;
            return this;
        }
 
        public CalendarDayVOBuilder isHighPriority(final Integer isHighPriority) {
            this.isHighPriority = isHighPriority;
            return this;
        }
 
        public CalendarDayVOBuilder modelName(final String modelName) {
            this.modelName = modelName;
            return this;
        }
 
        public CalendarDayVOBuilder isOffDay(final Integer isOffDay) {
            this.isOffDay = isOffDay;
            return this;
        }
 
        public CalendarDayVOBuilder offDayRemark(final String offDayRemark) {
            this.offDayRemark = offDayRemark;
            return this;
        }
 
        public CalendarDayVO build() {
            return new CalendarDayVO(this.id, this.calendarDate, this.modelId, this.isHighPriority, this.modelName, this.isOffDay, this.offDayRemark);
        }
 
        public String toString() {
            return "CalendarDayVO.CalendarDayVOBuilder(id=" + this.id + ", calendarDate=" + this.calendarDate + ", modelId=" + this.modelId + ", isHighPriority=" + this.isHighPriority + ", modelName=" + this.modelName + ", isOffDay=" + this.isOffDay + ", offDayRemark=" + this.offDayRemark + ")";
        }
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    @JsonDeserialize(using = LocalDateDeserializer.class)
    public void setCalendarDate(final LocalDate calendarDate) {
        this.calendarDate = calendarDate;
    }
 
    public void setModelId(final Long modelId) {
        this.modelId = modelId;
    }
 
    public void setIsHighPriority(final Integer isHighPriority) {
        this.isHighPriority = isHighPriority;
    }
 
    public void setModelName(final String modelName) {
        this.modelName = modelName;
    }
 
    public void setIsOffDay(final Integer isOffDay) {
        this.isOffDay = isOffDay;
    }
 
    public void setOffDayRemark(final String offDayRemark) {
        this.offDayRemark = offDayRemark;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CalendarDayVO) {
            CalendarDayVO other = (CalendarDayVO) o;
            if (other.canEqual(this)) {
                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$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$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$modelName = getModelName();
                Object other$modelName = other.getModelName();
                if (this$modelName == null) {
                    if (other$modelName != null) {
                        return false;
                    }
                } else if (!this$modelName.equals(other$modelName)) {
                    return false;
                }
                Object this$offDayRemark = getOffDayRemark();
                Object other$offDayRemark = other.getOffDayRemark();
                return this$offDayRemark == null ? other$offDayRemark == null : this$offDayRemark.equals(other$offDayRemark);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CalendarDayVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $modelId = getModelId();
        int result2 = (result * 59) + ($modelId == null ? 43 : $modelId.hashCode());
        Object $isHighPriority = getIsHighPriority();
        int result3 = (result2 * 59) + ($isHighPriority == null ? 43 : $isHighPriority.hashCode());
        Object $isOffDay = getIsOffDay();
        int result4 = (result3 * 59) + ($isOffDay == null ? 43 : $isOffDay.hashCode());
        Object $calendarDate = getCalendarDate();
        int result5 = (result4 * 59) + ($calendarDate == null ? 43 : $calendarDate.hashCode());
        Object $modelName = getModelName();
        int result6 = (result5 * 59) + ($modelName == null ? 43 : $modelName.hashCode());
        Object $offDayRemark = getOffDayRemark();
        return (result6 * 59) + ($offDayRemark == null ? 43 : $offDayRemark.hashCode());
    }
 
    public String toString() {
        return "CalendarDayVO(id=" + getId() + ", calendarDate=" + getCalendarDate() + ", modelId=" + getModelId() + ", isHighPriority=" + getIsHighPriority() + ", modelName=" + getModelName() + ", isOffDay=" + getIsOffDay() + ", offDayRemark=" + getOffDayRemark() + ")";
    }
 
    public static CalendarDayVOBuilder builder() {
        return new CalendarDayVOBuilder();
    }
 
    public CalendarDayVO() {
    }
 
    public CalendarDayVO(final Long id, final LocalDate calendarDate, final Long modelId, final Integer isHighPriority, final String modelName, final Integer isOffDay, final String offDayRemark) {
        this.id = id;
        this.calendarDate = calendarDate;
        this.modelId = modelId;
        this.isHighPriority = isHighPriority;
        this.modelName = modelName;
        this.isOffDay = isOffDay;
        this.offDayRemark = offDayRemark;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public LocalDate getCalendarDate() {
        return this.calendarDate;
    }
 
    public Long getModelId() {
        return this.modelId;
    }
 
    public Integer getIsHighPriority() {
        return this.isHighPriority;
    }
 
    public String getModelName() {
        return this.modelName;
    }
 
    public Integer getIsOffDay() {
        return this.isOffDay;
    }
 
    public String getOffDayRemark() {
        return this.offDayRemark;
    }
}