yangys
2025-11-20 537d302507bf5bdc6f6b81ece701abb6e8b6a1e1
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
184
185
186
187
188
189
190
191
192
package com.qianwen.smartman.modules.perf.dto;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
 
public class WorkstationBO implements Serializable {
    private static final long serialVersionUID = 533842187255167706L;
    @ApiModelProperty("工位id")
    private Long id;
    @ApiModelProperty("工位名称")
    private String workstationName;
    @ApiModelProperty("工位编号")
    private String workstationCode;
    @ApiModelProperty("记录id")
    private Long logId;
    @ApiModelProperty("头像")
    private String avatar;
 
    
    public static class WorkstationBOBuilder {
        private Long id;
        private String workstationName;
        private String workstationCode;
        private Long logId;
        private String avatar;
 
        WorkstationBOBuilder() {
        }
 
        public WorkstationBOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public WorkstationBOBuilder workstationName(final String workstationName) {
            this.workstationName = workstationName;
            return this;
        }
 
        public WorkstationBOBuilder workstationCode(final String workstationCode) {
            this.workstationCode = workstationCode;
            return this;
        }
 
        public WorkstationBOBuilder logId(final Long logId) {
            this.logId = logId;
            return this;
        }
 
        public WorkstationBOBuilder avatar(final String avatar) {
            this.avatar = avatar;
            return this;
        }
 
        public WorkstationBO build() {
            return new WorkstationBO(this.id, this.workstationName, this.workstationCode, this.logId, this.avatar);
        }
 
        public String toString() {
            return "WorkstationBO.WorkstationBOBuilder(id=" + this.id + ", workstationName=" + this.workstationName + ", workstationCode=" + this.workstationCode + ", logId=" + this.logId + ", avatar=" + this.avatar + ")";
        }
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setWorkstationName(final String workstationName) {
        this.workstationName = workstationName;
    }
 
    public void setWorkstationCode(final String workstationCode) {
        this.workstationCode = workstationCode;
    }
 
    public void setLogId(final Long logId) {
        this.logId = logId;
    }
 
    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WorkstationBO) {
            WorkstationBO other = (WorkstationBO) o;
            if (other.canEqual(this)) {
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$logId = getLogId();
                Object other$logId = other.getLogId();
                if (this$logId == null) {
                    if (other$logId != null) {
                        return false;
                    }
                } else if (!this$logId.equals(other$logId)) {
                    return false;
                }
                Object this$workstationName = getWorkstationName();
                Object other$workstationName = other.getWorkstationName();
                if (this$workstationName == null) {
                    if (other$workstationName != null) {
                        return false;
                    }
                } else if (!this$workstationName.equals(other$workstationName)) {
                    return false;
                }
                Object this$workstationCode = getWorkstationCode();
                Object other$workstationCode = other.getWorkstationCode();
                if (this$workstationCode == null) {
                    if (other$workstationCode != null) {
                        return false;
                    }
                } else if (!this$workstationCode.equals(other$workstationCode)) {
                    return false;
                }
                Object this$avatar = getAvatar();
                Object other$avatar = other.getAvatar();
                return this$avatar == null ? other$avatar == null : this$avatar.equals(other$avatar);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WorkstationBO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $logId = getLogId();
        int result2 = (result * 59) + ($logId == null ? 43 : $logId.hashCode());
        Object $workstationName = getWorkstationName();
        int result3 = (result2 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
        Object $workstationCode = getWorkstationCode();
        int result4 = (result3 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
        Object $avatar = getAvatar();
        return (result4 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
    }
 
    public String toString() {
        return "WorkstationBO(id=" + getId() + ", workstationName=" + getWorkstationName() + ", workstationCode=" + getWorkstationCode() + ", logId=" + getLogId() + ", avatar=" + getAvatar() + ")";
    }
 
    public static WorkstationBOBuilder builder() {
        return new WorkstationBOBuilder();
    }
 
    public WorkstationBO() {
    }
 
    public WorkstationBO(final Long id, final String workstationName, final String workstationCode, final Long logId, final String avatar) {
        this.id = id;
        this.workstationName = workstationName;
        this.workstationCode = workstationCode;
        this.logId = logId;
        this.avatar = avatar;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public String getWorkstationName() {
        return this.workstationName;
    }
 
    public String getWorkstationCode() {
        return this.workstationCode;
    }
 
    public Long getLogId() {
        return this.logId;
    }
 
    public String getAvatar() {
        return this.avatar;
    }
}