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
package com.qianwen.smartman.modules.visual.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
 
 
public class VisualBaseVO implements Serializable {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("工位id集合")
    @Size(min = 1, message = "工位ID不能为空")
    private List<Long> workStationIdList;
    @ApiModelProperty("时间等级")
    private String timeLevel;//running-top中是小时数
 
    public void setWorkStationIdList(final List<Long> workStationIdList) {
        this.workStationIdList = workStationIdList;
    }
 
    public void setTimeLevel(final String timeLevel) {
        this.timeLevel = timeLevel;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof VisualBaseVO) {
            VisualBaseVO other = (VisualBaseVO) o;
            if (other.canEqual(this)) {
                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$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 VisualBaseVO;
    }
 
    public int hashCode() {
        Object $workStationIdList = getWorkStationIdList();
        int result = (1 * 59) + ($workStationIdList == null ? 43 : $workStationIdList.hashCode());
        Object $timeLevel = getTimeLevel();
        return (result * 59) + ($timeLevel == null ? 43 : $timeLevel.hashCode());
    }
 
    public String toString() {
        return "VisualBaseVO(workStationIdList=" + getWorkStationIdList() + ", timeLevel=" + getTimeLevel() + ")";
    }
 
    public List<Long> getWorkStationIdList() {
        return this.workStationIdList;
    }
 
    public String getTimeLevel() {
        return this.timeLevel;
    }
}