package com.skyline.electricity.pojo;
|
|
public class MonitorDto
|
{
|
private Integer gid;
|
private String desc;
|
private String altitude;
|
private String latitude;
|
private String longitude;
|
private String regionPath;
|
private String transPtz;
|
private String cameraName;
|
private String cameraIndex;
|
private String status;
|
|
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 String getRegionPath() {
|
return this.regionPath;
|
}
|
|
public String getTransPtz() {
|
return this.transPtz;
|
}
|
|
public String getCameraName() {
|
return this.cameraName;
|
}
|
|
public String getCameraIndex() {
|
return this.cameraIndex;
|
}
|
|
public String getStatus() {
|
return this.status;
|
}
|
|
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;
|
}
|
|
public void setRegionPath(final String regionPath) {
|
this.regionPath = regionPath;
|
}
|
|
public void setTransPtz(final String transPtz) {
|
this.transPtz = transPtz;
|
}
|
|
public void setCameraName(final String cameraName) {
|
this.cameraName = cameraName;
|
}
|
|
public void setCameraIndex(final String cameraIndex) {
|
this.cameraIndex = cameraIndex;
|
}
|
|
public void setStatus(final String status) {
|
this.status = status;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof MonitorDto)) {
|
return false;
|
}
|
final MonitorDto other = (MonitorDto)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();
|
Label_0213: {
|
if (this$longitude == null) {
|
if (other$longitude == null) {
|
break Label_0213;
|
}
|
}
|
else if (this$longitude.equals(other$longitude)) {
|
break Label_0213;
|
}
|
return false;
|
}
|
final Object this$regionPath = this.getRegionPath();
|
final Object other$regionPath = other.getRegionPath();
|
Label_0250: {
|
if (this$regionPath == null) {
|
if (other$regionPath == null) {
|
break Label_0250;
|
}
|
}
|
else if (this$regionPath.equals(other$regionPath)) {
|
break Label_0250;
|
}
|
return false;
|
}
|
final Object this$transPtz = this.getTransPtz();
|
final Object other$transPtz = other.getTransPtz();
|
Label_0287: {
|
if (this$transPtz == null) {
|
if (other$transPtz == null) {
|
break Label_0287;
|
}
|
}
|
else if (this$transPtz.equals(other$transPtz)) {
|
break Label_0287;
|
}
|
return false;
|
}
|
final Object this$cameraName = this.getCameraName();
|
final Object other$cameraName = other.getCameraName();
|
Label_0324: {
|
if (this$cameraName == null) {
|
if (other$cameraName == null) {
|
break Label_0324;
|
}
|
}
|
else if (this$cameraName.equals(other$cameraName)) {
|
break Label_0324;
|
}
|
return false;
|
}
|
final Object this$cameraIndex = this.getCameraIndex();
|
final Object other$cameraIndex = other.getCameraIndex();
|
Label_0361: {
|
if (this$cameraIndex == null) {
|
if (other$cameraIndex == null) {
|
break Label_0361;
|
}
|
}
|
else if (this$cameraIndex.equals(other$cameraIndex)) {
|
break Label_0361;
|
}
|
return false;
|
}
|
final Object this$status = this.getStatus();
|
final Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status == null) {
|
return true;
|
}
|
}
|
else if (this$status.equals(other$status)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MonitorDto;
|
}
|
|
@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());
|
final Object $regionPath = this.getRegionPath();
|
result = result * 59 + (($regionPath == null) ? 43 : $regionPath.hashCode());
|
final Object $transPtz = this.getTransPtz();
|
result = result * 59 + (($transPtz == null) ? 43 : $transPtz.hashCode());
|
final Object $cameraName = this.getCameraName();
|
result = result * 59 + (($cameraName == null) ? 43 : $cameraName.hashCode());
|
final Object $cameraIndex = this.getCameraIndex();
|
result = result * 59 + (($cameraIndex == null) ? 43 : $cameraIndex.hashCode());
|
final Object $status = this.getStatus();
|
result = result * 59 + (($status == null) ? 43 : $status.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "MonitorDto(gid=" + this.getGid() + ", desc=" + this.getDesc() + ", altitude=" + this.getAltitude() + ", latitude=" + this.getLatitude() + ", longitude=" + this.getLongitude() + ", regionPath=" + this.getRegionPath() + ", transPtz=" + this.getTransPtz() + ", cameraName=" + this.getCameraName() + ", cameraIndex=" + this.getCameraIndex() + ", status=" + this.getStatus() + ")";
|
}
|
}
|