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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
package com.qianwen.smartman.modules.notify.dto;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/dto/BusinessNotifyDTO.class */
public class BusinessNotifyDTO implements Serializable {
    private static final long serialVersionUID = -2281472287550301632L;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("主键")
    private Long id;
    @NotNull
    @ApiModelProperty("业务key")
    private String businessKey;
    @ApiModelProperty("业务名称")
    private String businessName;
    @NotNull
    @ApiModelProperty("通知配置")
    private String notifyId;
    @ApiModelProperty("通知名称")
    private String notifyName;
    @NotNull
    @ApiModelProperty("通知类型")
    private String notifyType;
    @NotNull
    @ApiModelProperty("通知模板")
    private String notifyTemplateId;
    @NotNull
    @ApiModelProperty("通知模板名称")
    private String notifyTemplateName;
    @NotNull
    @ApiModelProperty("模板内容")
    private String template;
    @ApiModelProperty("状态 1为启用 0为禁用")
    private Integer status;
    @ApiModelProperty("服务商名称")
    private String providerName;
    @ApiModelProperty("服务商类型")
    private String providerType;
 
    public BusinessNotifyDTO setId(final Long id) {
        this.id = id;
        return this;
    }
 
    public BusinessNotifyDTO setBusinessKey(final String businessKey) {
        this.businessKey = businessKey;
        return this;
    }
 
    public BusinessNotifyDTO setBusinessName(final String businessName) {
        this.businessName = businessName;
        return this;
    }
 
    public BusinessNotifyDTO setNotifyId(final String notifyId) {
        this.notifyId = notifyId;
        return this;
    }
 
    public BusinessNotifyDTO setNotifyName(final String notifyName) {
        this.notifyName = notifyName;
        return this;
    }
 
    public BusinessNotifyDTO setNotifyType(final String notifyType) {
        this.notifyType = notifyType;
        return this;
    }
 
    public BusinessNotifyDTO setNotifyTemplateId(final String notifyTemplateId) {
        this.notifyTemplateId = notifyTemplateId;
        return this;
    }
 
    public BusinessNotifyDTO setNotifyTemplateName(final String notifyTemplateName) {
        this.notifyTemplateName = notifyTemplateName;
        return this;
    }
 
    public BusinessNotifyDTO setTemplate(final String template) {
        this.template = template;
        return this;
    }
 
    public BusinessNotifyDTO setStatus(final Integer status) {
        this.status = status;
        return this;
    }
 
    public BusinessNotifyDTO setProviderName(final String providerName) {
        this.providerName = providerName;
        return this;
    }
 
    public BusinessNotifyDTO setProviderType(final String providerType) {
        this.providerType = providerType;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BusinessNotifyDTO) {
            BusinessNotifyDTO other = (BusinessNotifyDTO) o;
            if (other.canEqual(this)) {
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$status = getStatus();
                Object other$status = other.getStatus();
                if (this$status == null) {
                    if (other$status != null) {
                        return false;
                    }
                } else if (!this$status.equals(other$status)) {
                    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$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$notifyName = getNotifyName();
                Object other$notifyName = other.getNotifyName();
                if (this$notifyName == null) {
                    if (other$notifyName != null) {
                        return false;
                    }
                } else if (!this$notifyName.equals(other$notifyName)) {
                    return false;
                }
                Object this$notifyType = getNotifyType();
                Object other$notifyType = other.getNotifyType();
                if (this$notifyType == null) {
                    if (other$notifyType != null) {
                        return false;
                    }
                } else if (!this$notifyType.equals(other$notifyType)) {
                    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$notifyTemplateName = getNotifyTemplateName();
                Object other$notifyTemplateName = other.getNotifyTemplateName();
                if (this$notifyTemplateName == null) {
                    if (other$notifyTemplateName != null) {
                        return false;
                    }
                } else if (!this$notifyTemplateName.equals(other$notifyTemplateName)) {
                    return false;
                }
                Object this$template = getTemplate();
                Object other$template = other.getTemplate();
                if (this$template == null) {
                    if (other$template != null) {
                        return false;
                    }
                } else if (!this$template.equals(other$template)) {
                    return false;
                }
                Object this$providerName = getProviderName();
                Object other$providerName = other.getProviderName();
                if (this$providerName == null) {
                    if (other$providerName != null) {
                        return false;
                    }
                } else if (!this$providerName.equals(other$providerName)) {
                    return false;
                }
                Object this$providerType = getProviderType();
                Object other$providerType = other.getProviderType();
                return this$providerType == null ? other$providerType == null : this$providerType.equals(other$providerType);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof BusinessNotifyDTO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $status = getStatus();
        int result2 = (result * 59) + ($status == null ? 43 : $status.hashCode());
        Object $businessKey = getBusinessKey();
        int result3 = (result2 * 59) + ($businessKey == null ? 43 : $businessKey.hashCode());
        Object $businessName = getBusinessName();
        int result4 = (result3 * 59) + ($businessName == null ? 43 : $businessName.hashCode());
        Object $notifyId = getNotifyId();
        int result5 = (result4 * 59) + ($notifyId == null ? 43 : $notifyId.hashCode());
        Object $notifyName = getNotifyName();
        int result6 = (result5 * 59) + ($notifyName == null ? 43 : $notifyName.hashCode());
        Object $notifyType = getNotifyType();
        int result7 = (result6 * 59) + ($notifyType == null ? 43 : $notifyType.hashCode());
        Object $notifyTemplateId = getNotifyTemplateId();
        int result8 = (result7 * 59) + ($notifyTemplateId == null ? 43 : $notifyTemplateId.hashCode());
        Object $notifyTemplateName = getNotifyTemplateName();
        int result9 = (result8 * 59) + ($notifyTemplateName == null ? 43 : $notifyTemplateName.hashCode());
        Object $template = getTemplate();
        int result10 = (result9 * 59) + ($template == null ? 43 : $template.hashCode());
        Object $providerName = getProviderName();
        int result11 = (result10 * 59) + ($providerName == null ? 43 : $providerName.hashCode());
        Object $providerType = getProviderType();
        return (result11 * 59) + ($providerType == null ? 43 : $providerType.hashCode());
    }
 
    public String toString() {
        return "BusinessNotifyDTO(id=" + getId() + ", businessKey=" + getBusinessKey() + ", businessName=" + getBusinessName() + ", notifyId=" + getNotifyId() + ", notifyName=" + getNotifyName() + ", notifyType=" + getNotifyType() + ", notifyTemplateId=" + getNotifyTemplateId() + ", notifyTemplateName=" + getNotifyTemplateName() + ", template=" + getTemplate() + ", status=" + getStatus() + ", providerName=" + getProviderName() + ", providerType=" + getProviderType() + ")";
    }
 
    public Long getId() {
        return this.id;
    }
 
    public String getBusinessKey() {
        return this.businessKey;
    }
 
    public String getBusinessName() {
        return this.businessName;
    }
 
    public String getNotifyId() {
        return this.notifyId;
    }
 
    public String getNotifyName() {
        return this.notifyName;
    }
 
    public String getNotifyType() {
        return this.notifyType;
    }
 
    public String getNotifyTemplateId() {
        return this.notifyTemplateId;
    }
 
    public String getNotifyTemplateName() {
        return this.notifyTemplateName;
    }
 
    public String getTemplate() {
        return this.template;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public String getProviderName() {
        return this.providerName;
    }
 
    public String getProviderType() {
        return this.providerType;
    }
}