package com.qianwen.smartman.modules.dmpLog.dto; import com.alibaba.fastjson.JSONObject; public class DmpLogMessage { private String type; private JSONObject message; private Object exception; public void setType(final String type) { this.type = type; } public void setMessage(final JSONObject message) { this.message = message; } public void setException(final Object exception) { this.exception = exception; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof DmpLogMessage) { DmpLogMessage other = (DmpLogMessage) o; if (other.canEqual(this)) { Object this$type = getType(); Object other$type = other.getType(); if (this$type == null) { if (other$type != null) { return false; } } else if (!this$type.equals(other$type)) { return false; } Object this$message = getMessage(); Object other$message = other.getMessage(); if (this$message == null) { if (other$message != null) { return false; } } else if (!this$message.equals(other$message)) { return false; } Object this$exception = getException(); Object other$exception = other.getException(); return this$exception == null ? other$exception == null : this$exception.equals(other$exception); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof DmpLogMessage; } public int hashCode() { Object $type = getType(); int result = (1 * 59) + ($type == null ? 43 : $type.hashCode()); Object $message = getMessage(); int result2 = (result * 59) + ($message == null ? 43 : $message.hashCode()); Object $exception = getException(); return (result2 * 59) + ($exception == null ? 43 : $exception.hashCode()); } public String toString() { return "DmpLogMessage(type=" + getType() + ", message=" + getMessage() + ", exception=" + getException() + ")"; } public String getType() { return this.type; } public JSONObject getMessage() { return this.message; } public Object getException() { return this.exception; } }