yangys
2024-05-07 1251cce20deab6e388b1e2ff8cdddd2896db162b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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;
    }
}