yangys
2024-11-02 f69073b835f1a0c66590130e1830edcdd75ebb8a
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
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
@ApiModel(value = "TraySurfaceVo对象", description = "托盘托盘面")
public class TraySurfaceInfoVO implements Serializable {
    private static final long serialVersionUID = -9125662292744177811L;
    @ApiModelProperty(value = "主键ID", dataType = "java.lang.String")
    private Long id;
    @ApiModelProperty(value = "托盘面id", dataType = "java.lang.String")
    private Long surfaceId;
    @ApiModelProperty(value = "托盘id", dataType = "java.lang.String")
    private Long trayId;
    @ApiModelProperty("托盘名称")
    private String trayName;
    @ApiModelProperty("托盘面名称")
    private String surfaceName;
    @ApiModelProperty("托盘编号")
    private String trayCode;
    @ApiModelProperty("托盘面编号")
    private String surfaceCode;
 
    public TraySurfaceInfoVO setId(final Long id) {
        this.id = id;
        return this;
    }
 
    public TraySurfaceInfoVO setSurfaceId(final Long surfaceId) {
        this.surfaceId = surfaceId;
        return this;
    }
 
    public TraySurfaceInfoVO setTrayId(final Long trayId) {
        this.trayId = trayId;
        return this;
    }
 
    public TraySurfaceInfoVO setTrayName(final String trayName) {
        this.trayName = trayName;
        return this;
    }
 
    public TraySurfaceInfoVO setSurfaceName(final String surfaceName) {
        this.surfaceName = surfaceName;
        return this;
    }
 
    public TraySurfaceInfoVO setTrayCode(final String trayCode) {
        this.trayCode = trayCode;
        return this;
    }
 
    public TraySurfaceInfoVO setSurfaceCode(final String surfaceCode) {
        this.surfaceCode = surfaceCode;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TraySurfaceInfoVO) {
            TraySurfaceInfoVO other = (TraySurfaceInfoVO) 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$surfaceId = getSurfaceId();
                Object other$surfaceId = other.getSurfaceId();
                if (this$surfaceId == null) {
                    if (other$surfaceId != null) {
                        return false;
                    }
                } else if (!this$surfaceId.equals(other$surfaceId)) {
                    return false;
                }
                Object this$trayId = getTrayId();
                Object other$trayId = other.getTrayId();
                if (this$trayId == null) {
                    if (other$trayId != null) {
                        return false;
                    }
                } else if (!this$trayId.equals(other$trayId)) {
                    return false;
                }
                Object this$trayName = getTrayName();
                Object other$trayName = other.getTrayName();
                if (this$trayName == null) {
                    if (other$trayName != null) {
                        return false;
                    }
                } else if (!this$trayName.equals(other$trayName)) {
                    return false;
                }
                Object this$surfaceName = getSurfaceName();
                Object other$surfaceName = other.getSurfaceName();
                if (this$surfaceName == null) {
                    if (other$surfaceName != null) {
                        return false;
                    }
                } else if (!this$surfaceName.equals(other$surfaceName)) {
                    return false;
                }
                Object this$trayCode = getTrayCode();
                Object other$trayCode = other.getTrayCode();
                if (this$trayCode == null) {
                    if (other$trayCode != null) {
                        return false;
                    }
                } else if (!this$trayCode.equals(other$trayCode)) {
                    return false;
                }
                Object this$surfaceCode = getSurfaceCode();
                Object other$surfaceCode = other.getSurfaceCode();
                return this$surfaceCode == null ? other$surfaceCode == null : this$surfaceCode.equals(other$surfaceCode);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TraySurfaceInfoVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $surfaceId = getSurfaceId();
        int result2 = (result * 59) + ($surfaceId == null ? 43 : $surfaceId.hashCode());
        Object $trayId = getTrayId();
        int result3 = (result2 * 59) + ($trayId == null ? 43 : $trayId.hashCode());
        Object $trayName = getTrayName();
        int result4 = (result3 * 59) + ($trayName == null ? 43 : $trayName.hashCode());
        Object $surfaceName = getSurfaceName();
        int result5 = (result4 * 59) + ($surfaceName == null ? 43 : $surfaceName.hashCode());
        Object $trayCode = getTrayCode();
        int result6 = (result5 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode());
        Object $surfaceCode = getSurfaceCode();
        return (result6 * 59) + ($surfaceCode == null ? 43 : $surfaceCode.hashCode());
    }
 
    public String toString() {
        return "TraySurfaceInfoVO(id=" + getId() + ", surfaceId=" + getSurfaceId() + ", trayId=" + getTrayId() + ", trayName=" + getTrayName() + ", surfaceName=" + getSurfaceName() + ", trayCode=" + getTrayCode() + ", surfaceCode=" + getSurfaceCode() + ")";
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Long getSurfaceId() {
        return this.surfaceId;
    }
 
    public Long getTrayId() {
        return this.trayId;
    }
 
    public String getTrayName() {
        return this.trayName;
    }
 
    public String getSurfaceName() {
        return this.surfaceName;
    }
 
    public String getTrayCode() {
        return this.trayCode;
    }
 
    public String getSurfaceCode() {
        return this.surfaceCode;
    }
}