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
package com.qianwen.smartman.modules.perf.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import com.qianwen.smartman.modules.perf.dto.WorkstationBO;
import com.qianwen.smartman.modules.perf.enums.WorkStatusEnum;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/vo/QueryWorkStatusVO.class */
public class QueryWorkStatusVO implements Serializable {
    private static final long serialVersionUID = -1922614889298875439L;
    @ApiModelProperty("查询类型 ALL-所有 ON-上线 OFF-下线 MY-我的")
    private WorkStatusEnum queryType;
    @ApiModelProperty("工位信息")
    private List<WorkstationBO> workstations;
 
    public void setQueryType(final WorkStatusEnum queryType) {
        this.queryType = queryType;
    }
 
    public void setWorkstations(final List<WorkstationBO> workstations) {
        this.workstations = workstations;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof QueryWorkStatusVO) {
            QueryWorkStatusVO other = (QueryWorkStatusVO) o;
            if (other.canEqual(this)) {
                Object this$queryType = getQueryType();
                Object other$queryType = other.getQueryType();
                if (this$queryType == null) {
                    if (other$queryType != null) {
                        return false;
                    }
                } else if (!this$queryType.equals(other$queryType)) {
                    return false;
                }
                Object this$workstations = getWorkstations();
                Object other$workstations = other.getWorkstations();
                return this$workstations == null ? other$workstations == null : this$workstations.equals(other$workstations);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof QueryWorkStatusVO;
    }
 
    public int hashCode() {
        Object $queryType = getQueryType();
        int result = (1 * 59) + ($queryType == null ? 43 : $queryType.hashCode());
        Object $workstations = getWorkstations();
        return (result * 59) + ($workstations == null ? 43 : $workstations.hashCode());
    }
 
    public String toString() {
        return "QueryWorkStatusVO(queryType=" + getQueryType() + ", workstations=" + getWorkstations() + ")";
    }
 
    public WorkStatusEnum getQueryType() {
        return this.queryType;
    }
 
    public List<WorkstationBO> getWorkstations() {
        return this.workstations;
    }
}