yangys
2024-10-30 25db770e621f1259b8d5b7fd514207f7481c2d0f
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
package com.qianwen.smartman.common.websocket.entity;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
public class FmsAreaLocation implements Serializable {
    private String code;
    @ApiModelProperty("托盘编码")
    private String palletCode;
    private String color;
    @ApiModelProperty("托盘状态")
    private Integer state;
    private String id;
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setPalletCode(final String palletCode) {
        this.palletCode = palletCode;
    }
 
    public void setColor(final String color) {
        this.color = color;
    }
 
    public void setState(final Integer state) {
        this.state = state;
    }
 
    public void setId(final String id) {
        this.id = id;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof FmsAreaLocation) {
            FmsAreaLocation other = (FmsAreaLocation) o;
            if (other.canEqual(this)) {
                Object this$state = getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }
                Object this$code = getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }
                Object this$palletCode = getPalletCode();
                Object other$palletCode = other.getPalletCode();
                if (this$palletCode == null) {
                    if (other$palletCode != null) {
                        return false;
                    }
                } else if (!this$palletCode.equals(other$palletCode)) {
                    return false;
                }
                Object this$color = getColor();
                Object other$color = other.getColor();
                if (this$color == null) {
                    if (other$color != null) {
                        return false;
                    }
                } else if (!this$color.equals(other$color)) {
                    return false;
                }
                Object this$id = getId();
                Object other$id = other.getId();
                return this$id == null ? other$id == null : this$id.equals(other$id);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof FmsAreaLocation;
    }
 
    public int hashCode() {
        Object $state = getState();
        int result = (1 * 59) + ($state == null ? 43 : $state.hashCode());
        Object $code = getCode();
        int result2 = (result * 59) + ($code == null ? 43 : $code.hashCode());
        Object $palletCode = getPalletCode();
        int result3 = (result2 * 59) + ($palletCode == null ? 43 : $palletCode.hashCode());
        Object $color = getColor();
        int result4 = (result3 * 59) + ($color == null ? 43 : $color.hashCode());
        Object $id = getId();
        return (result4 * 59) + ($id == null ? 43 : $id.hashCode());
    }
 
    public String toString() {
        return "FmsAreaLocation(code=" + getCode() + ", palletCode=" + getPalletCode() + ", color=" + getColor() + ", state=" + getState() + ", id=" + getId() + ")";
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getPalletCode() {
        return this.palletCode;
    }
 
    public String getColor() {
        return this.color;
    }
 
    public Integer getState() {
        return this.state;
    }
 
    public String getId() {
        return this.id;
    }
}