package com.qianwen.core.sms.model; import java.io.Serializable; import java.util.Map; public class SmsData implements Serializable { private static final long serialVersionUID = 1; private String key; private Map params; public SmsData setKey(final String key) { this.key = key; return this; } public SmsData setParams(final Map params) { this.params = params; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof SmsData) { SmsData other = (SmsData) 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$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 SmsData; } public int hashCode() { Object $key = getKey(); int result = (1 * 59) + ($key == null ? 43 : $key.hashCode()); Object $params = getParams(); return (result * 59) + ($params == null ? 43 : $params.hashCode()); } public String toString() { return "SmsData(key=" + getKey() + ", params=" + getParams() + ")"; } public SmsData(Map params) { this.params = params; } public String getKey() { return this.key; } public Map getParams() { return this.params; } }