package com.qianwen.smartman.modules.smis.vo;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
public class SearchVO implements Serializable {
|
private static final long serialVersionUID = -7880879740300167668L;
|
private List<KV> params;
|
|
public void setParams(final List<KV> params) {
|
this.params = params;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof SearchVO) {
|
SearchVO other = (SearchVO) o;
|
if (other.canEqual(this)) {
|
Object this$params = getParams();
|
Object other$params = other.getParams();
|
return this$params == null ? other$params == null : this$params.equals(other$params);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof SearchVO;
|
}
|
|
public int hashCode() {
|
Object $params = getParams();
|
int result = (1 * 59) + ($params == null ? 43 : $params.hashCode());
|
return result;
|
}
|
|
public String toString() {
|
return "SearchVO(params=" + getParams() + ")";
|
}
|
|
public List<KV> getParams() {
|
return this.params;
|
}
|
|
|
public static class KV {
|
private String key;
|
private String value;
|
|
public void setKey(final String key) {
|
this.key = key;
|
}
|
|
public void setValue(final String value) {
|
this.value = value;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof KV) {
|
KV other = (KV) o;
|
if (other.canEqual(this)) {
|
Object this$key = getKey();
|
Object other$key = other.getKey();
|
if (this$key == null) {
|
if (other$key != null) {
|
return false;
|
}
|
} else if (!this$key.equals(other$key)) {
|
return false;
|
}
|
Object this$value = getValue();
|
Object other$value = other.getValue();
|
return this$value == null ? other$value == null : this$value.equals(other$value);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof KV;
|
}
|
|
public int hashCode() {
|
Object $key = getKey();
|
int result = (1 * 59) + ($key == null ? 43 : $key.hashCode());
|
Object $value = getValue();
|
return (result * 59) + ($value == null ? 43 : $value.hashCode());
|
}
|
|
public String toString() {
|
return "SearchVO.KV(key=" + getKey() + ", value=" + getValue() + ")";
|
}
|
|
public String getKey() {
|
return this.key;
|
}
|
|
public String getValue() {
|
return this.value;
|
}
|
}
|
}
|