package com.qianwen.smartman.modules.mdc.dto;
|
|
import java.io.Serializable;
|
|
public class NewParamDTO implements Serializable {
|
private static final long serialVersionUID = 8655977093978301400L;
|
private Long ts;
|
private String v;
|
|
public void setTs(final Long ts) {
|
this.ts = ts;
|
}
|
|
public void setV(final String v) {
|
this.v = v;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NewParamDTO) {
|
NewParamDTO other = (NewParamDTO) o;
|
if (other.canEqual(this)) {
|
Object this$ts = getTs();
|
Object other$ts = other.getTs();
|
if (this$ts == null) {
|
if (other$ts != null) {
|
return false;
|
}
|
} else if (!this$ts.equals(other$ts)) {
|
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 NewParamDTO;
|
}
|
|
public int hashCode() {
|
Object $ts = getTs();
|
int result = (1 * 59) + ($ts == null ? 43 : $ts.hashCode());
|
Object $v = getV();
|
return (result * 59) + ($v == null ? 43 : $v.hashCode());
|
}
|
|
public String toString() {
|
return "NewParamDTO(ts=" + getTs() + ", v=" + getV() + ")";
|
}
|
|
public Long getTs() {
|
return this.ts;
|
}
|
|
public String getV() {
|
return this.v;
|
}
|
}
|