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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
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_business_notify")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/entity/BusinessNotify.class */
public class BusinessNotify extends TenantEntity {
    @ApiModelProperty("业务key")
    private String businessKey;
    @ApiModelProperty("业务名称")
    private String businessName;
    @ApiModelProperty("通知类型")
    private String notifyType;
    @ApiModelProperty("通知配置")
    private Long notifyId;
    @ApiModelProperty("通知模板")
    private Long notifyTemplateId;
 
    public void setBusinessKey(final String businessKey) {
        this.businessKey = businessKey;
    }
 
    public void setBusinessName(final String businessName) {
        this.businessName = businessName;
    }
 
    public void setNotifyType(final String notifyType) {
        this.notifyType = notifyType;
    }
 
    public void setNotifyId(final Long notifyId) {
        this.notifyId = notifyId;
    }
 
    public void setNotifyTemplateId(final Long notifyTemplateId) {
        this.notifyTemplateId = notifyTemplateId;
    }
 
    public String toString() {
        return "BusinessNotify(businessKey=" + getBusinessKey() + ", businessName=" + getBusinessName() + ", notifyType=" + getNotifyType() + ", notifyId=" + getNotifyId() + ", notifyTemplateId=" + getNotifyTemplateId() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BusinessNotify) {
            BusinessNotify other = (BusinessNotify) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$notifyId = getNotifyId();
                Object other$notifyId = other.getNotifyId();
                if (this$notifyId == null) {
                    if (other$notifyId != null) {
                        return false;
                    }
                } else if (!this$notifyId.equals(other$notifyId)) {
                    return false;
                }
                Object this$notifyTemplateId = getNotifyTemplateId();
                Object other$notifyTemplateId = other.getNotifyTemplateId();
                if (this$notifyTemplateId == null) {
                    if (other$notifyTemplateId != null) {
                        return false;
                    }
                } else if (!this$notifyTemplateId.equals(other$notifyTemplateId)) {
                    return false;
                }
                Object this$businessKey = getBusinessKey();
                Object other$businessKey = other.getBusinessKey();
                if (this$businessKey == null) {
                    if (other$businessKey != null) {
                        return false;
                    }
                } else if (!this$businessKey.equals(other$businessKey)) {
                    return false;
                }
                Object this$businessName = getBusinessName();
                Object other$businessName = other.getBusinessName();
                if (this$businessName == null) {
                    if (other$businessName != null) {
                        return false;
                    }
                } else if (!this$businessName.equals(other$businessName)) {
                    return false;
                }
                Object this$notifyType = getNotifyType();
                Object other$notifyType = other.getNotifyType();
                return this$notifyType == null ? other$notifyType == null : this$notifyType.equals(other$notifyType);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof BusinessNotify;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $notifyId = getNotifyId();
        int result2 = (result * 59) + ($notifyId == null ? 43 : $notifyId.hashCode());
        Object $notifyTemplateId = getNotifyTemplateId();
        int result3 = (result2 * 59) + ($notifyTemplateId == null ? 43 : $notifyTemplateId.hashCode());
        Object $businessKey = getBusinessKey();
        int result4 = (result3 * 59) + ($businessKey == null ? 43 : $businessKey.hashCode());
        Object $businessName = getBusinessName();
        int result5 = (result4 * 59) + ($businessName == null ? 43 : $businessName.hashCode());
        Object $notifyType = getNotifyType();
        return (result5 * 59) + ($notifyType == null ? 43 : $notifyType.hashCode());
    }
 
    public String getBusinessKey() {
        return this.businessKey;
    }
 
    public String getBusinessName() {
        return this.businessName;
    }
 
    public String getNotifyType() {
        return this.notifyType;
    }
 
    public Long getNotifyId() {
        return this.notifyId;
    }
 
    public Long getNotifyTemplateId() {
        return this.notifyTemplateId;
    }
}