yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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
package com.qianwen.smartman.modules.visual.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/vo/WorkstationCountVisualQueryVO.class */
public class WorkstationCountVisualQueryVO implements Serializable {
    @NotNull
    @ApiModelProperty("数据标签")
    private String usageCode;
    @ApiModelProperty("工位列表")
    @Size(min = 1)
    private List<Long> workStationIdList;
    @NotNull
    @ApiModelProperty("查询策略")
    private VisualUsagePolicyEnum policy;
    @ApiModelProperty("时间等级")
    private String timeLevel;
 
    public void setUsageCode(final String usageCode) {
        this.usageCode = usageCode;
    }
 
    public void setWorkStationIdList(final List<Long> workStationIdList) {
        this.workStationIdList = workStationIdList;
    }
 
    public void setPolicy(final VisualUsagePolicyEnum policy) {
        this.policy = policy;
    }
 
    public void setTimeLevel(final String timeLevel) {
        this.timeLevel = timeLevel;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WorkstationCountVisualQueryVO) {
            WorkstationCountVisualQueryVO other = (WorkstationCountVisualQueryVO) o;
            if (other.canEqual(this)) {
                Object this$usageCode = getUsageCode();
                Object other$usageCode = other.getUsageCode();
                if (this$usageCode == null) {
                    if (other$usageCode != null) {
                        return false;
                    }
                } else if (!this$usageCode.equals(other$usageCode)) {
                    return false;
                }
                Object this$workStationIdList = getWorkStationIdList();
                Object other$workStationIdList = other.getWorkStationIdList();
                if (this$workStationIdList == null) {
                    if (other$workStationIdList != null) {
                        return false;
                    }
                } else if (!this$workStationIdList.equals(other$workStationIdList)) {
                    return false;
                }
                Object this$policy = getPolicy();
                Object other$policy = other.getPolicy();
                if (this$policy == null) {
                    if (other$policy != null) {
                        return false;
                    }
                } else if (!this$policy.equals(other$policy)) {
                    return false;
                }
                Object this$timeLevel = getTimeLevel();
                Object other$timeLevel = other.getTimeLevel();
                return this$timeLevel == null ? other$timeLevel == null : this$timeLevel.equals(other$timeLevel);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WorkstationCountVisualQueryVO;
    }
 
    public int hashCode() {
        Object $usageCode = getUsageCode();
        int result = (1 * 59) + ($usageCode == null ? 43 : $usageCode.hashCode());
        Object $workStationIdList = getWorkStationIdList();
        int result2 = (result * 59) + ($workStationIdList == null ? 43 : $workStationIdList.hashCode());
        Object $policy = getPolicy();
        int result3 = (result2 * 59) + ($policy == null ? 43 : $policy.hashCode());
        Object $timeLevel = getTimeLevel();
        return (result3 * 59) + ($timeLevel == null ? 43 : $timeLevel.hashCode());
    }
 
    public String toString() {
        return "WorkstationCountVisualQueryVO(usageCode=" + getUsageCode() + ", workStationIdList=" + getWorkStationIdList() + ", policy=" + getPolicy() + ", timeLevel=" + getTimeLevel() + ")";
    }
 
    public String getUsageCode() {
        return this.usageCode;
    }
 
    public List<Long> getWorkStationIdList() {
        return this.workStationIdList;
    }
 
    public VisualUsagePolicyEnum getPolicy() {
        return this.policy;
    }
 
    public String getTimeLevel() {
        return this.timeLevel;
    }
}