yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
package com.qianwen.smartman.modules.perf.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import com.qianwen.smartman.common.constant.DateConstant;
import com.qianwen.smartman.modules.perf.dto.WorkstationBO;
import org.springframework.format.annotation.DateTimeFormat;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/vo/BatchOnWorkVO.class */
public class BatchOnWorkVO implements Serializable {
    private static final long serialVersionUID = 8646838652401654928L;
    @ApiModelProperty("工位信息")
    private List<WorkstationBO> works;
    @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    @ApiModelProperty("上线/下线时间")
    @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    private Date time;
    @ApiModelProperty("员工id")
    private Long employeeId;
    @ApiModelProperty("员工名称")
    private String employeeName;
    @ApiModelProperty("员工编号")
    private String employeeCode;
    @ApiModelProperty("员工头像")
    private String employeeAvatar;
    @ApiModelProperty("上下线类型 0-要上线 1-要下线")
    private Integer type;
 
    public void setWorks(final List<WorkstationBO> works) {
        this.works = works;
    }
 
    @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
    public void setTime(final Date time) {
        this.time = time;
    }
 
    public void setEmployeeId(final Long employeeId) {
        this.employeeId = employeeId;
    }
 
    public void setEmployeeName(final String employeeName) {
        this.employeeName = employeeName;
    }
 
    public void setEmployeeCode(final String employeeCode) {
        this.employeeCode = employeeCode;
    }
 
    public void setEmployeeAvatar(final String employeeAvatar) {
        this.employeeAvatar = employeeAvatar;
    }
 
    public void setType(final Integer type) {
        this.type = type;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BatchOnWorkVO) {
            BatchOnWorkVO other = (BatchOnWorkVO) o;
            if (other.canEqual(this)) {
                Object this$employeeId = getEmployeeId();
                Object other$employeeId = other.getEmployeeId();
                if (this$employeeId == null) {
                    if (other$employeeId != null) {
                        return false;
                    }
                } else if (!this$employeeId.equals(other$employeeId)) {
                    return false;
                }
                Object this$type = getType();
                Object other$type = other.getType();
                if (this$type == null) {
                    if (other$type != null) {
                        return false;
                    }
                } else if (!this$type.equals(other$type)) {
                    return false;
                }
                Object this$works = getWorks();
                Object other$works = other.getWorks();
                if (this$works == null) {
                    if (other$works != null) {
                        return false;
                    }
                } else if (!this$works.equals(other$works)) {
                    return false;
                }
                Object this$time = getTime();
                Object other$time = other.getTime();
                if (this$time == null) {
                    if (other$time != null) {
                        return false;
                    }
                } else if (!this$time.equals(other$time)) {
                    return false;
                }
                Object this$employeeName = getEmployeeName();
                Object other$employeeName = other.getEmployeeName();
                if (this$employeeName == null) {
                    if (other$employeeName != null) {
                        return false;
                    }
                } else if (!this$employeeName.equals(other$employeeName)) {
                    return false;
                }
                Object this$employeeCode = getEmployeeCode();
                Object other$employeeCode = other.getEmployeeCode();
                if (this$employeeCode == null) {
                    if (other$employeeCode != null) {
                        return false;
                    }
                } else if (!this$employeeCode.equals(other$employeeCode)) {
                    return false;
                }
                Object this$employeeAvatar = getEmployeeAvatar();
                Object other$employeeAvatar = other.getEmployeeAvatar();
                return this$employeeAvatar == null ? other$employeeAvatar == null : this$employeeAvatar.equals(other$employeeAvatar);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof BatchOnWorkVO;
    }
 
    public int hashCode() {
        Object $employeeId = getEmployeeId();
        int result = (1 * 59) + ($employeeId == null ? 43 : $employeeId.hashCode());
        Object $type = getType();
        int result2 = (result * 59) + ($type == null ? 43 : $type.hashCode());
        Object $works = getWorks();
        int result3 = (result2 * 59) + ($works == null ? 43 : $works.hashCode());
        Object $time = getTime();
        int result4 = (result3 * 59) + ($time == null ? 43 : $time.hashCode());
        Object $employeeName = getEmployeeName();
        int result5 = (result4 * 59) + ($employeeName == null ? 43 : $employeeName.hashCode());
        Object $employeeCode = getEmployeeCode();
        int result6 = (result5 * 59) + ($employeeCode == null ? 43 : $employeeCode.hashCode());
        Object $employeeAvatar = getEmployeeAvatar();
        return (result6 * 59) + ($employeeAvatar == null ? 43 : $employeeAvatar.hashCode());
    }
 
    public String toString() {
        return "BatchOnWorkVO(works=" + getWorks() + ", time=" + getTime() + ", employeeId=" + getEmployeeId() + ", employeeName=" + getEmployeeName() + ", employeeCode=" + getEmployeeCode() + ", employeeAvatar=" + getEmployeeAvatar() + ", type=" + getType() + ")";
    }
 
    public List<WorkstationBO> getWorks() {
        return this.works;
    }
 
    public Date getTime() {
        return this.time;
    }
 
    public Long getEmployeeId() {
        return this.employeeId;
    }
 
    public String getEmployeeName() {
        return this.employeeName;
    }
 
    public String getEmployeeCode() {
        return this.employeeCode;
    }
 
    public String getEmployeeAvatar() {
        return this.employeeAvatar;
    }
 
    public Integer getType() {
        return this.type;
    }
}