yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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
package com.qianwen.smartman.modules.notify.vo;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/vo/NoticeAddVO.class */
public class NoticeAddVO {
    @NotBlank(message = "{notify.notice.title.can.not.be.empty}")
    @Size(max = 100, message = "{notify.notice.title.length.too.long}")
    String title;
    @NotNull(message = "{notify.notice.category.can.not.be.empty}")
    Integer category;
    @NotBlank(message = "{notify.notice.content.can.not.be.empty}")
    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 boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof NoticeAddVO) {
            NoticeAddVO other = (NoticeAddVO) o;
            if (other.canEqual(this)) {
                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 NoticeAddVO;
    }
 
    public int hashCode() {
        Object $category = getCategory();
        int result = (1 * 59) + ($category == null ? 43 : $category.hashCode());
        Object $title = getTitle();
        int result2 = (result * 59) + ($title == null ? 43 : $title.hashCode());
        Object $content = getContent();
        return (result2 * 59) + ($content == null ? 43 : $content.hashCode());
    }
 
    public String toString() {
        return "NoticeAddVO(title=" + getTitle() + ", category=" + getCategory() + ", content=" + getContent() + ")";
    }
 
    public String getTitle() {
        return this.title;
    }
 
    public Integer getCategory() {
        return this.category;
    }
 
    public String getContent() {
        return this.content;
    }
}