郑永安
2023-06-19 59e91a4e9ddaf23cebb12993c774aa899ab22d16
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
package com.gk.firework.Domain.Utils;
 
import com.gk.firework.Domain.Enum.MsgContentType;
import com.gk.firework.Domain.Enum.MsgType;
 
public class Message {
 
    private String type;
 
    private String message;
 
    private String contentType;
 
    //是否市监管部门
    private Boolean supervision;
 
 
    public Message(MsgType type, MsgContentType contentType, Boolean supervision) {
        this.contentType = contentType.getCode();
        this.type = type.getCode();
        this.supervision = supervision;
    }
 
 
    public String getType() {
        return type;
    }
 
 
    public String getMessage() {
        return message;
    }
 
    public void setMessage(String message) {
        this.message = message;
    }
 
    public Boolean getSupervision() {
        return supervision;
    }
 
    public void setSupervision(Boolean supervision) {
        this.supervision = supervision;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public String getContentType() {
        return contentType;
    }
 
    public void setContentType(String contentType) {
        this.contentType = contentType;
    }
}