yangys
2024-10-30 c27b939fa5fa6ce4d712f7e9ced2ad811d69d5ec
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
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
public class WorkMachineEasyVO implements Serializable {
    private static final long serialVersionUID = -4527372669185998888L;
    @ApiModelProperty("工位id")
    private Long workstationId;
    @ApiModelProperty("工位编号")
    private String workCode;
    @ApiModelProperty("工位名称")
    private String workName;
    @ApiModelProperty("机器名称")
    private Long machineId;
    private String machineCode;
    private String machineName;
    private String pinCode;
    private String shortCode;
 
    public void setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
    }
 
    public void setWorkCode(final String workCode) {
        this.workCode = workCode;
    }
 
    public void setWorkName(final String workName) {
        this.workName = workName;
    }
 
    public void setMachineId(final Long machineId) {
        this.machineId = machineId;
    }
 
    public void setMachineCode(final String machineCode) {
        this.machineCode = machineCode;
    }
 
    public void setMachineName(final String machineName) {
        this.machineName = machineName;
    }
 
    public void setPinCode(final String pinCode) {
        this.pinCode = pinCode;
    }
 
    public void setShortCode(final String shortCode) {
        this.shortCode = shortCode;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WorkMachineEasyVO) {
            WorkMachineEasyVO other = (WorkMachineEasyVO) o;
            if (other.canEqual(this)) {
                Object this$workstationId = getWorkstationId();
                Object other$workstationId = other.getWorkstationId();
                if (this$workstationId == null) {
                    if (other$workstationId != null) {
                        return false;
                    }
                } else if (!this$workstationId.equals(other$workstationId)) {
                    return false;
                }
                Object this$machineId = getMachineId();
                Object other$machineId = other.getMachineId();
                if (this$machineId == null) {
                    if (other$machineId != null) {
                        return false;
                    }
                } else if (!this$machineId.equals(other$machineId)) {
                    return false;
                }
                Object this$workCode = getWorkCode();
                Object other$workCode = other.getWorkCode();
                if (this$workCode == null) {
                    if (other$workCode != null) {
                        return false;
                    }
                } else if (!this$workCode.equals(other$workCode)) {
                    return false;
                }
                Object this$workName = getWorkName();
                Object other$workName = other.getWorkName();
                if (this$workName == null) {
                    if (other$workName != null) {
                        return false;
                    }
                } else if (!this$workName.equals(other$workName)) {
                    return false;
                }
                Object this$machineCode = getMachineCode();
                Object other$machineCode = other.getMachineCode();
                if (this$machineCode == null) {
                    if (other$machineCode != null) {
                        return false;
                    }
                } else if (!this$machineCode.equals(other$machineCode)) {
                    return false;
                }
                Object this$machineName = getMachineName();
                Object other$machineName = other.getMachineName();
                if (this$machineName == null) {
                    if (other$machineName != null) {
                        return false;
                    }
                } else if (!this$machineName.equals(other$machineName)) {
                    return false;
                }
                Object this$pinCode = getPinCode();
                Object other$pinCode = other.getPinCode();
                if (this$pinCode == null) {
                    if (other$pinCode != null) {
                        return false;
                    }
                } else if (!this$pinCode.equals(other$pinCode)) {
                    return false;
                }
                Object this$shortCode = getShortCode();
                Object other$shortCode = other.getShortCode();
                return this$shortCode == null ? other$shortCode == null : this$shortCode.equals(other$shortCode);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WorkMachineEasyVO;
    }
 
    public int hashCode() {
        Object $workstationId = getWorkstationId();
        int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $machineId = getMachineId();
        int result2 = (result * 59) + ($machineId == null ? 43 : $machineId.hashCode());
        Object $workCode = getWorkCode();
        int result3 = (result2 * 59) + ($workCode == null ? 43 : $workCode.hashCode());
        Object $workName = getWorkName();
        int result4 = (result3 * 59) + ($workName == null ? 43 : $workName.hashCode());
        Object $machineCode = getMachineCode();
        int result5 = (result4 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
        Object $machineName = getMachineName();
        int result6 = (result5 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
        Object $pinCode = getPinCode();
        int result7 = (result6 * 59) + ($pinCode == null ? 43 : $pinCode.hashCode());
        Object $shortCode = getShortCode();
        return (result7 * 59) + ($shortCode == null ? 43 : $shortCode.hashCode());
    }
 
    public String toString() {
        return "WorkMachineEasyVO(workstationId=" + getWorkstationId() + ", workCode=" + getWorkCode() + ", workName=" + getWorkName() + ", machineId=" + getMachineId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", pinCode=" + getPinCode() + ", shortCode=" + getShortCode() + ")";
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public String getWorkCode() {
        return this.workCode;
    }
 
    public String getWorkName() {
        return this.workName;
    }
 
    public Long getMachineId() {
        return this.machineId;
    }
 
    public String getMachineCode() {
        return this.machineCode;
    }
 
    public String getMachineName() {
        return this.machineName;
    }
 
    public String getPinCode() {
        return this.pinCode;
    }
 
    public String getShortCode() {
        return this.shortCode;
    }
}