package com.skyline.electricity.uwbentity; import java.util.*; public class UWBHistoryLocation { private String shopId; private Tag tag; private Position position; private String version; private User user; private List 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 User getUser() { return this.user; } public List 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 setUser(final User user) { this.user = user; } public void setEvents(final List 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 UWBHistoryLocation)) { return false; } final UWBHistoryLocation other = (UWBHistoryLocation)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$user = this.getUser(); final Object other$user = other.getUser(); Label_0213: { if (this$user == null) { if (other$user == null) { break Label_0213; } } else if (this$user.equals(other$user)) { break Label_0213; } 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 UWBHistoryLocation; } @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 $user = this.getUser(); result = result * 59 + (($user == null) ? 43 : $user.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 "UWBHistoryLocation(shopId=" + this.getShopId() + ", tag=" + this.getTag() + ", position=" + this.getPosition() + ", version=" + this.getVersion() + ", user=" + this.getUser() + ", events=" + this.getEvents() + ", timestamp=" + this.getTimestamp() + ")"; } }