package com.qianwen.smartman.modules.cps.message.dto;
|
|
import java.io.Serializable;
|
|
/**
|
* 采集的数据
|
*/
|
public class TelemetryDataResponseDTO implements Serializable {
|
private String v;
|
private Long t;
|
|
public void setV(final String v) {
|
this.v = v;
|
}
|
|
public void setT(final Long t) {
|
this.t = t;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TelemetryDataResponseDTO) {
|
TelemetryDataResponseDTO other = (TelemetryDataResponseDTO) o;
|
if (other.canEqual(this)) {
|
Object this$t = getT();
|
Object other$t = other.getT();
|
if (this$t == null) {
|
if (other$t != null) {
|
return false;
|
}
|
} else if (!this$t.equals(other$t)) {
|
return false;
|
}
|
Object this$v = getV();
|
Object other$v = other.getV();
|
return this$v == null ? other$v == null : this$v.equals(other$v);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TelemetryDataResponseDTO;
|
}
|
|
public int hashCode() {
|
Object $t = getT();
|
int result = (1 * 59) + ($t == null ? 43 : $t.hashCode());
|
Object $v = getV();
|
return (result * 59) + ($v == null ? 43 : $v.hashCode());
|
}
|
|
public String toString() {
|
return "TelemetryDataResponseDTO(v=" + getV() + ", t=" + getT() + ")";
|
}
|
|
public TelemetryDataResponseDTO(final String v, final Long t) {
|
this.v = v;
|
this.t = t;
|
}
|
|
public TelemetryDataResponseDTO() {
|
}
|
|
public String getV() {
|
return this.v;
|
}
|
|
public Long getT() {
|
return this.t;
|
}
|
}
|