yangys
2024-10-30 25db770e621f1259b8d5b7fd514207f7481c2d0f
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
package com.qianwen.smartman.modules.mdc.vo.excel;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;
import javax.validation.constraints.NotNull;
import com.qianwen.smartman.modules.mdc.enums.StatisticalMethodEnum;
 
public class TimeUsedExcelVO implements Serializable {
    private static final long serialVersionUID = -1171830696195824158L;
    @ApiModelProperty("工位id")
    private List<Long> ids;
    @ApiModelProperty("开始时间")
    private LocalDate startTime;
    @ApiModelProperty("结束时间")
    private LocalDate endTime;
    @NotNull(message = "{mdc.timeUsed.StatisticalMethodEnum.notNull}")
    @ApiModelProperty("统计模式: SHIFT - 班次; DAY - 日; WEEK - 周; MONTH - 月")
    private StatisticalMethodEnum enums;
 
    public void setIds(final List<Long> ids) {
        this.ids = ids;
    }
 
    public void setStartTime(final LocalDate startTime) {
        this.startTime = startTime;
    }
 
    public void setEndTime(final LocalDate endTime) {
        this.endTime = endTime;
    }
 
    public void setEnums(final StatisticalMethodEnum enums) {
        this.enums = enums;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TimeUsedExcelVO) {
            TimeUsedExcelVO other = (TimeUsedExcelVO) o;
            if (other.canEqual(this)) {
                Object this$ids = getIds();
                Object other$ids = other.getIds();
                if (this$ids == null) {
                    if (other$ids != null) {
                        return false;
                    }
                } else if (!this$ids.equals(other$ids)) {
                    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();
                if (this$endTime == null) {
                    if (other$endTime != null) {
                        return false;
                    }
                } else if (!this$endTime.equals(other$endTime)) {
                    return false;
                }
                Object this$enums = getEnums();
                Object other$enums = other.getEnums();
                return this$enums == null ? other$enums == null : this$enums.equals(other$enums);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TimeUsedExcelVO;
    }
 
    public int hashCode() {
        Object $ids = getIds();
        int result = (1 * 59) + ($ids == null ? 43 : $ids.hashCode());
        Object $startTime = getStartTime();
        int result2 = (result * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $endTime = getEndTime();
        int result3 = (result2 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
        Object $enums = getEnums();
        return (result3 * 59) + ($enums == null ? 43 : $enums.hashCode());
    }
 
    public String toString() {
        return "TimeUsedExcelVO(ids=" + getIds() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", enums=" + getEnums() + ")";
    }
 
    public List<Long> getIds() {
        return this.ids;
    }
 
    public LocalDate getStartTime() {
        return this.startTime;
    }
 
    public LocalDate getEndTime() {
        return this.endTime;
    }
 
    public StatisticalMethodEnum getEnums() {
        return this.enums;
    }
}