yangys
2025-11-18 8e944cfabb253fc2556588e308e282586043f7b0
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
package com.qianwen.smartman.modules.mdc.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import com.qianwen.smartman.modules.smis.dto.KeyNameDTO;
import com.qianwen.smartman.modules.mdc.enums.StatisticalMethodEnum;
 
 
public class SplitFilterVO implements Serializable {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("统计方式:SHIFT--班次--1,DAY--日--2,WEEK--周--3,MONTH--月--4")
    private StatisticalMethodEnum statisticalMethod;
    @ApiModelProperty("选中的工位key-name")
    private List<KeyNameDTO> workStationList;
    @ApiModelProperty("班次index")
    private Integer shiftIndex;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("code")
    private String code;
    @ApiModelProperty("日")
    private String date;
    @ApiModelProperty("周")
    private Integer week;
    @ApiModelProperty("月")
    private Integer month;
    @ApiModelProperty("年")
    private Integer year;
 
    public SplitFilterVO(final StatisticalMethodEnum statisticalMethod, final List<KeyNameDTO> workStationList, final Integer shiftIndex, final String title, final String code, final String date, final Integer week, final Integer month, final Integer year) {
        this.statisticalMethod = statisticalMethod;
        this.workStationList = workStationList;
        this.shiftIndex = shiftIndex;
        this.title = title;
        this.code = code;
        this.date = date;
        this.week = week;
        this.month = month;
        this.year = year;
    }
 
    public SplitFilterVO() {
    }
 
    public void setStatisticalMethod(final StatisticalMethodEnum statisticalMethod) {
        this.statisticalMethod = statisticalMethod;
    }
 
    public void setWorkStationList(final List<KeyNameDTO> workStationList) {
        this.workStationList = workStationList;
    }
 
    public void setShiftIndex(final Integer shiftIndex) {
        this.shiftIndex = shiftIndex;
    }
 
    public void setTitle(final String title) {
        this.title = title;
    }
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setDate(final String date) {
        this.date = date;
    }
 
    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 boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof SplitFilterVO) {
            SplitFilterVO other = (SplitFilterVO) o;
            if (other.canEqual(this)) {
                Object this$shiftIndex = getShiftIndex();
                Object other$shiftIndex = other.getShiftIndex();
                if (this$shiftIndex == null) {
                    if (other$shiftIndex != null) {
                        return false;
                    }
                } else if (!this$shiftIndex.equals(other$shiftIndex)) {
                    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$statisticalMethod = getStatisticalMethod();
                Object other$statisticalMethod = other.getStatisticalMethod();
                if (this$statisticalMethod == null) {
                    if (other$statisticalMethod != null) {
                        return false;
                    }
                } else if (!this$statisticalMethod.equals(other$statisticalMethod)) {
                    return false;
                }
                Object this$workStationList = getWorkStationList();
                Object other$workStationList = other.getWorkStationList();
                if (this$workStationList == null) {
                    if (other$workStationList != null) {
                        return false;
                    }
                } else if (!this$workStationList.equals(other$workStationList)) {
                    return false;
                }
                Object this$title = getTitle();
                Object other$title = other.getTitle();
                if (this$title == null) {
                    if (other$title != null) {
                        return false;
                    }
                } else if (!this$title.equals(other$title)) {
                    return false;
                }
                Object this$code = getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }
                Object this$date = getDate();
                Object other$date = other.getDate();
                return this$date == null ? other$date == null : this$date.equals(other$date);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof SplitFilterVO;
    }
 
    public int hashCode() {
        Object $shiftIndex = getShiftIndex();
        int result = (1 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode());
        Object $week = getWeek();
        int result2 = (result * 59) + ($week == null ? 43 : $week.hashCode());
        Object $month = getMonth();
        int result3 = (result2 * 59) + ($month == null ? 43 : $month.hashCode());
        Object $year = getYear();
        int result4 = (result3 * 59) + ($year == null ? 43 : $year.hashCode());
        Object $statisticalMethod = getStatisticalMethod();
        int result5 = (result4 * 59) + ($statisticalMethod == null ? 43 : $statisticalMethod.hashCode());
        Object $workStationList = getWorkStationList();
        int result6 = (result5 * 59) + ($workStationList == null ? 43 : $workStationList.hashCode());
        Object $title = getTitle();
        int result7 = (result6 * 59) + ($title == null ? 43 : $title.hashCode());
        Object $code = getCode();
        int result8 = (result7 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $date = getDate();
        return (result8 * 59) + ($date == null ? 43 : $date.hashCode());
    }
 
    public String toString() {
        return "SplitFilterVO(statisticalMethod=" + getStatisticalMethod() + ", workStationList=" + getWorkStationList() + ", shiftIndex=" + getShiftIndex() + ", title=" + getTitle() + ", code=" + getCode() + ", date=" + getDate() + ", week=" + getWeek() + ", month=" + getMonth() + ", year=" + getYear() + ")";
    }
 
    public StatisticalMethodEnum getStatisticalMethod() {
        return this.statisticalMethod;
    }
 
    public List<KeyNameDTO> getWorkStationList() {
        return this.workStationList;
    }
 
    public Integer getShiftIndex() {
        return this.shiftIndex;
    }
 
    public String getTitle() {
        return this.title;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getDate() {
        return this.date;
    }
 
    public Integer getWeek() {
        return this.week;
    }
 
    public Integer getMonth() {
        return this.month;
    }
 
    public Integer getYear() {
        return this.year;
    }
}