yangys
2024-09-04 04c57331cf84c8f606c2838dcb6fe5463fb9b68c
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
package com.qianwen.smartman.modules.notify.subscriber;
 
import java.util.Date;
 
 
public class Notify {
    private String message;
    private String dataId;
    private Date notifyTime;
 
    private Notify(final String message, final String dataId, final Date notifyTime) {
        this.message = message;
        this.dataId = dataId;
        this.notifyTime = notifyTime;
    }
 
    public static Notify of(final String message, final String dataId, final Date notifyTime) {
        return new Notify(message, dataId, notifyTime);
    }
 
    public void setMessage(final String message) {
        this.message = message;
    }
 
    public void setDataId(final String dataId) {
        this.dataId = dataId;
    }
 
    public void setNotifyTime(final Date notifyTime) {
        this.notifyTime = notifyTime;
    }
 
    public Notify() {
    }
 
    public String getMessage() {
        return this.message;
    }
 
    public String getDataId() {
        return this.dataId;
    }
 
    public Date getNotifyTime() {
        return this.notifyTime;
    }
}