package com.skyline.electricity.pojo;
|
|
public class WifiDto
|
{
|
private Integer gid;
|
private String desc;
|
private String altitude;
|
private String latitude;
|
private String longitude;
|
|
public Integer getGid() {
|
return this.gid;
|
}
|
|
public String getDesc() {
|
return this.desc;
|
}
|
|
public String getAltitude() {
|
return this.altitude;
|
}
|
|
public String getLatitude() {
|
return this.latitude;
|
}
|
|
public String getLongitude() {
|
return this.longitude;
|
}
|
|
public void setGid(final Integer gid) {
|
this.gid = gid;
|
}
|
|
public void setDesc(final String desc) {
|
this.desc = desc;
|
}
|
|
public void setAltitude(final String altitude) {
|
this.altitude = altitude;
|
}
|
|
public void setLatitude(final String latitude) {
|
this.latitude = latitude;
|
}
|
|
public void setLongitude(final String longitude) {
|
this.longitude = longitude;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof WifiDto)) {
|
return false;
|
}
|
final WifiDto other = (WifiDto)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$gid = this.getGid();
|
final Object other$gid = other.getGid();
|
Label_0065: {
|
if (this$gid == null) {
|
if (other$gid == null) {
|
break Label_0065;
|
}
|
}
|
else if (this$gid.equals(other$gid)) {
|
break Label_0065;
|
}
|
return false;
|
}
|
final Object this$desc = this.getDesc();
|
final Object other$desc = other.getDesc();
|
Label_0102: {
|
if (this$desc == null) {
|
if (other$desc == null) {
|
break Label_0102;
|
}
|
}
|
else if (this$desc.equals(other$desc)) {
|
break Label_0102;
|
}
|
return false;
|
}
|
final Object this$altitude = this.getAltitude();
|
final Object other$altitude = other.getAltitude();
|
Label_0139: {
|
if (this$altitude == null) {
|
if (other$altitude == null) {
|
break Label_0139;
|
}
|
}
|
else if (this$altitude.equals(other$altitude)) {
|
break Label_0139;
|
}
|
return false;
|
}
|
final Object this$latitude = this.getLatitude();
|
final Object other$latitude = other.getLatitude();
|
Label_0176: {
|
if (this$latitude == null) {
|
if (other$latitude == null) {
|
break Label_0176;
|
}
|
}
|
else if (this$latitude.equals(other$latitude)) {
|
break Label_0176;
|
}
|
return false;
|
}
|
final Object this$longitude = this.getLongitude();
|
final Object other$longitude = other.getLongitude();
|
if (this$longitude == null) {
|
if (other$longitude == null) {
|
return true;
|
}
|
}
|
else if (this$longitude.equals(other$longitude)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WifiDto;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $gid = this.getGid();
|
result = result * 59 + (($gid == null) ? 43 : $gid.hashCode());
|
final Object $desc = this.getDesc();
|
result = result * 59 + (($desc == null) ? 43 : $desc.hashCode());
|
final Object $altitude = this.getAltitude();
|
result = result * 59 + (($altitude == null) ? 43 : $altitude.hashCode());
|
final Object $latitude = this.getLatitude();
|
result = result * 59 + (($latitude == null) ? 43 : $latitude.hashCode());
|
final Object $longitude = this.getLongitude();
|
result = result * 59 + (($longitude == null) ? 43 : $longitude.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "WifiDto(gid=" + this.getGid() + ", desc=" + this.getDesc() + ", altitude=" + this.getAltitude() + ", latitude=" + this.getLatitude() + ", longitude=" + this.getLongitude() + ")";
|
}
|
}
|