yangys
2024-04-05 84dea9976c29ac938fa018b8566c71461b056418
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
package com.qianwen.core.notify.provider.internal.message;
 
import java.util.List;
import com.qianwen.core.notify.template.Template;
 
/* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/provider/internal/message/DefaultInternalMessageTemplate.class */
public class DefaultInternalMessageTemplate implements Template {
    private String subject;
    private String content;
    private List<Attachment> attachments;
 
    public void setSubject(final String subject) {
        this.subject = subject;
    }
 
    public void setContent(final String content) {
        this.content = content;
    }
 
    public void setAttachments(final List<Attachment> attachments) {
        this.attachments = attachments;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DefaultInternalMessageTemplate) {
            DefaultInternalMessageTemplate other = (DefaultInternalMessageTemplate) o;
            if (other.canEqual(this)) {
                Object this$subject = getSubject();
                Object other$subject = other.getSubject();
                if (this$subject == null) {
                    if (other$subject != null) {
                        return false;
                    }
                } else if (!this$subject.equals(other$subject)) {
                    return false;
                }
                Object this$content = getContent();
                Object other$content = other.getContent();
                if (this$content == null) {
                    if (other$content != null) {
                        return false;
                    }
                } else if (!this$content.equals(other$content)) {
                    return false;
                }
                Object this$attachments = getAttachments();
                Object other$attachments = other.getAttachments();
                return this$attachments == null ? other$attachments == null : this$attachments.equals(other$attachments);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof DefaultInternalMessageTemplate;
    }
 
    public int hashCode() {
        Object $subject = getSubject();
        int result = (1 * 59) + ($subject == null ? 43 : $subject.hashCode());
        Object $content = getContent();
        int result2 = (result * 59) + ($content == null ? 43 : $content.hashCode());
        Object $attachments = getAttachments();
        return (result2 * 59) + ($attachments == null ? 43 : $attachments.hashCode());
    }
 
    public String toString() {
        return "DefaultInternalMessageTemplate(subject=" + getSubject() + ", content=" + getContent() + ", attachments=" + getAttachments() + ")";
    }
 
    public String getSubject() {
        return this.subject;
    }
 
    public String getContent() {
        return this.content;
    }
 
    public List<Attachment> getAttachments() {
        return this.attachments;
    }
 
    /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/provider/internal/message/DefaultInternalMessageTemplate$Attachment.class */
    public static class Attachment {
        private String name;
        private String location;
 
        public void setName(final String name) {
            this.name = name;
        }
 
        public void setLocation(final String location) {
            this.location = location;
        }
 
        public String getName() {
            return this.name;
        }
 
        public String getLocation() {
            return this.location;
        }
    }
}