leutu
2024-05-08 543e4eb01ca210b20876e8139cb3d0403d7d065c
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
package com.skyline.electricity.uwbentity;
 
public class UwbMessage
{
    private String shopId;
    private String userIds;
    private int messageVibrate;
    private String instructionType;
    private String value;
    
    public String getShopId() {
        return this.shopId;
    }
    
    public String getUserIds() {
        return this.userIds;
    }
    
    public int getMessageVibrate() {
        return this.messageVibrate;
    }
    
    public String getInstructionType() {
        return this.instructionType;
    }
    
    public String getValue() {
        return this.value;
    }
    
    public void setShopId(final String shopId) {
        this.shopId = shopId;
    }
    
    public void setUserIds(final String userIds) {
        this.userIds = userIds;
    }
    
    public void setMessageVibrate(final int messageVibrate) {
        this.messageVibrate = messageVibrate;
    }
    
    public void setInstructionType(final String instructionType) {
        this.instructionType = instructionType;
    }
    
    public void setValue(final String value) {
        this.value = value;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UwbMessage)) {
            return false;
        }
        final UwbMessage other = (UwbMessage)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$shopId = this.getShopId();
        final Object other$shopId = other.getShopId();
        Label_0065: {
            if (this$shopId == null) {
                if (other$shopId == null) {
                    break Label_0065;
                }
            }
            else if (this$shopId.equals(other$shopId)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$userIds = this.getUserIds();
        final Object other$userIds = other.getUserIds();
        Label_0102: {
            if (this$userIds == null) {
                if (other$userIds == null) {
                    break Label_0102;
                }
            }
            else if (this$userIds.equals(other$userIds)) {
                break Label_0102;
            }
            return false;
        }
        if (this.getMessageVibrate() != other.getMessageVibrate()) {
            return false;
        }
        final Object this$instructionType = this.getInstructionType();
        final Object other$instructionType = other.getInstructionType();
        Label_0152: {
            if (this$instructionType == null) {
                if (other$instructionType == null) {
                    break Label_0152;
                }
            }
            else if (this$instructionType.equals(other$instructionType)) {
                break Label_0152;
            }
            return false;
        }
        final Object this$value = this.getValue();
        final Object other$value = other.getValue();
        if (this$value == null) {
            if (other$value == null) {
                return true;
            }
        }
        else if (this$value.equals(other$value)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof UwbMessage;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $shopId = this.getShopId();
        result = result * 59 + (($shopId == null) ? 43 : $shopId.hashCode());
        final Object $userIds = this.getUserIds();
        result = result * 59 + (($userIds == null) ? 43 : $userIds.hashCode());
        result = result * 59 + this.getMessageVibrate();
        final Object $instructionType = this.getInstructionType();
        result = result * 59 + (($instructionType == null) ? 43 : $instructionType.hashCode());
        final Object $value = this.getValue();
        result = result * 59 + (($value == null) ? 43 : $value.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "UwbMessage(shopId=" + this.getShopId() + ", userIds=" + this.getUserIds() + ", messageVibrate=" + this.getMessageVibrate() + ", instructionType=" + this.getInstructionType() + ", value=" + this.getValue() + ")";
    }
}