yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
package com.qianwen.smartman.modules.notify.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@TableName("blade_notice")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/entity/Notice.class */
public class Notice extends TenantEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("通知类型")
    private Integer category;
    @ApiModelProperty("内容")
    private String content;
 
    public void setTitle(final String title) {
        this.title = title;
    }
 
    public void setCategory(final Integer category) {
        this.category = category;
    }
 
    public void setContent(final String content) {
        this.content = content;
    }
 
    public String toString() {
        return "Notice(title=" + getTitle() + ", category=" + getCategory() + ", content=" + getContent() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof Notice) {
            Notice other = (Notice) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$category = getCategory();
                Object other$category = other.getCategory();
                if (this$category == null) {
                    if (other$category != null) {
                        return false;
                    }
                } else if (!this$category.equals(other$category)) {
                    return false;
                }
                Object this$title = getTitle();
                Object other$title = other.getTitle();
                if (this$title == null) {
                    if (other$title != null) {
                        return false;
                    }
                } else if (!this$title.equals(other$title)) {
                    return false;
                }
                Object this$content = getContent();
                Object other$content = other.getContent();
                return this$content == null ? other$content == null : this$content.equals(other$content);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof Notice;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $category = getCategory();
        int result2 = (result * 59) + ($category == null ? 43 : $category.hashCode());
        Object $title = getTitle();
        int result3 = (result2 * 59) + ($title == null ? 43 : $title.hashCode());
        Object $content = getContent();
        return (result3 * 59) + ($content == null ? 43 : $content.hashCode());
    }
 
    public String getTitle() {
        return this.title;
    }
 
    public Integer getCategory() {
        return this.category;
    }
 
    public String getContent() {
        return this.content;
    }
}