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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
package com.skyline.electricity.uwbentity;
 
import java.util.*;
 
public class Positions
{
    private String shopId;
    private Tag tag;
    private Position position;
    private String version;
    private List<Code> events;
    private double timestamp;
    
    public String getShopId() {
        return this.shopId;
    }
    
    public Tag getTag() {
        return this.tag;
    }
    
    public Position getPosition() {
        return this.position;
    }
    
    public String getVersion() {
        return this.version;
    }
    
    public List<Code> getEvents() {
        return this.events;
    }
    
    public double getTimestamp() {
        return this.timestamp;
    }
    
    public void setShopId(final String shopId) {
        this.shopId = shopId;
    }
    
    public void setTag(final Tag tag) {
        this.tag = tag;
    }
    
    public void setPosition(final Position position) {
        this.position = position;
    }
    
    public void setVersion(final String version) {
        this.version = version;
    }
    
    public void setEvents(final List<Code> events) {
        this.events = events;
    }
    
    public void setTimestamp(final double timestamp) {
        this.timestamp = timestamp;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Positions)) {
            return false;
        }
        final Positions other = (Positions)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$tag = this.getTag();
        final Object other$tag = other.getTag();
        Label_0102: {
            if (this$tag == null) {
                if (other$tag == null) {
                    break Label_0102;
                }
            }
            else if (this$tag.equals(other$tag)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$position = this.getPosition();
        final Object other$position = other.getPosition();
        Label_0139: {
            if (this$position == null) {
                if (other$position == null) {
                    break Label_0139;
                }
            }
            else if (this$position.equals(other$position)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$version = this.getVersion();
        final Object other$version = other.getVersion();
        Label_0176: {
            if (this$version == null) {
                if (other$version == null) {
                    break Label_0176;
                }
            }
            else if (this$version.equals(other$version)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$events = this.getEvents();
        final Object other$events = other.getEvents();
        if (this$events == null) {
            if (other$events == null) {
                return Double.compare(this.getTimestamp(), other.getTimestamp()) == 0;
            }
        }
        else if (this$events.equals(other$events)) {
            return Double.compare(this.getTimestamp(), other.getTimestamp()) == 0;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof Positions;
    }
    
    @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 $tag = this.getTag();
        result = result * 59 + (($tag == null) ? 43 : $tag.hashCode());
        final Object $position = this.getPosition();
        result = result * 59 + (($position == null) ? 43 : $position.hashCode());
        final Object $version = this.getVersion();
        result = result * 59 + (($version == null) ? 43 : $version.hashCode());
        final Object $events = this.getEvents();
        result = result * 59 + (($events == null) ? 43 : $events.hashCode());
        final long $timestamp = Double.doubleToLongBits(this.getTimestamp());
        result = result * 59 + (int)($timestamp >>> 32 ^ $timestamp);
        return result;
    }
    
    @Override
    public String toString() {
        return "Positions(shopId=" + this.getShopId() + ", tag=" + this.getTag() + ", position=" + this.getPosition() + ", version=" + this.getVersion() + ", events=" + this.getEvents() + ", timestamp=" + this.getTimestamp() + ")";
    }
}