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
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.mdc.dto.CountStatusDTO;
import com.qianwen.smartman.modules.mdc.dto.NameIdDTO;
 
public class TimeUsedAnalysisWorkstationVO implements Serializable {
    private static final long serialVersionUID = -530938150418043787L;
    @ApiModelProperty("工位详情")
    List<NameIdDTO> workStationDetails;
    @ApiModelProperty("各个状态")
    List<List<CountStatusDTO>> countStatus;
    @ApiModelProperty("总数")
    Long total;
 
    public static class TimeUsedAnalysisWorkstationVOBuilder {
        private List<NameIdDTO> workStationDetails;
        private List<List<CountStatusDTO>> countStatus;
        private Long total;
 
        TimeUsedAnalysisWorkstationVOBuilder() {
        }
 
        public TimeUsedAnalysisWorkstationVOBuilder workStationDetails(final List<NameIdDTO> workStationDetails) {
            this.workStationDetails = workStationDetails;
            return this;
        }
 
        public TimeUsedAnalysisWorkstationVOBuilder countStatus(final List<List<CountStatusDTO>> countStatus) {
            this.countStatus = countStatus;
            return this;
        }
 
        public TimeUsedAnalysisWorkstationVOBuilder total(final Long total) {
            this.total = total;
            return this;
        }
 
        public TimeUsedAnalysisWorkstationVO build() {
            return new TimeUsedAnalysisWorkstationVO(this.workStationDetails, this.countStatus, this.total);
        }
 
        public String toString() {
            return "TimeUsedAnalysisWorkstationVO.TimeUsedAnalysisWorkstationVOBuilder(workStationDetails=" + this.workStationDetails + ", countStatus=" + this.countStatus + ", total=" + this.total + ")";
        }
    }
 
    public void setWorkStationDetails(final List<NameIdDTO> workStationDetails) {
        this.workStationDetails = workStationDetails;
    }
 
    public void setCountStatus(final List<List<CountStatusDTO>> countStatus) {
        this.countStatus = countStatus;
    }
 
    public void setTotal(final Long total) {
        this.total = total;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TimeUsedAnalysisWorkstationVO) {
            TimeUsedAnalysisWorkstationVO other = (TimeUsedAnalysisWorkstationVO) o;
            if (other.canEqual(this)) {
                Object this$total = getTotal();
                Object other$total = other.getTotal();
                if (this$total == null) {
                    if (other$total != null) {
                        return false;
                    }
                } else if (!this$total.equals(other$total)) {
                    return false;
                }
                Object this$workStationDetails = getWorkStationDetails();
                Object other$workStationDetails = other.getWorkStationDetails();
                if (this$workStationDetails == null) {
                    if (other$workStationDetails != null) {
                        return false;
                    }
                } else if (!this$workStationDetails.equals(other$workStationDetails)) {
                    return false;
                }
                Object this$countStatus = getCountStatus();
                Object other$countStatus = other.getCountStatus();
                return this$countStatus == null ? other$countStatus == null : this$countStatus.equals(other$countStatus);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TimeUsedAnalysisWorkstationVO;
    }
 
    public int hashCode() {
        Object $total = getTotal();
        int result = (1 * 59) + ($total == null ? 43 : $total.hashCode());
        Object $workStationDetails = getWorkStationDetails();
        int result2 = (result * 59) + ($workStationDetails == null ? 43 : $workStationDetails.hashCode());
        Object $countStatus = getCountStatus();
        return (result2 * 59) + ($countStatus == null ? 43 : $countStatus.hashCode());
    }
 
    public String toString() {
        return "TimeUsedAnalysisWorkstationVO(workStationDetails=" + getWorkStationDetails() + ", countStatus=" + getCountStatus() + ", total=" + getTotal() + ")";
    }
 
    public static TimeUsedAnalysisWorkstationVOBuilder builder() {
        return new TimeUsedAnalysisWorkstationVOBuilder();
    }
 
    public TimeUsedAnalysisWorkstationVO() {
    }
 
    public TimeUsedAnalysisWorkstationVO(final List<NameIdDTO> workStationDetails, final List<List<CountStatusDTO>> countStatus, final Long total) {
        this.workStationDetails = workStationDetails;
        this.countStatus = countStatus;
        this.total = total;
    }
 
    public List<NameIdDTO> getWorkStationDetails() {
        return this.workStationDetails;
    }
 
    public List<List<CountStatusDTO>> getCountStatus() {
        return this.countStatus;
    }
 
    public Long getTotal() {
        return this.total;
    }
}