AdaKing88
2023-08-23 ae35159387a55199e8ab150ebb97d89d68a235bd
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
package org.jeecg.common.api.dto.message;
 
import lombok.Data;
 
import java.io.Serializable;
import java.util.Map;
 
/**
 * 消息模板dto
 * @author: jeecg-boot
 */
@Data
public class TemplateDTO implements Serializable {
 
    private static final long serialVersionUID = 5848247133907528650L;
 
    /**
     * 模板编码
     */
    protected String templateCode;
 
    /**
     * 模板参数
     */
    protected Map<String, String> templateParam;
 
    /**
     * 构造器 通过设置模板参数和模板编码 作为参数获取消息内容
     */
    public TemplateDTO(String templateCode, Map<String, String> templateParam){
        this.templateCode = templateCode;
        this.templateParam = templateParam;
    }
 
    public TemplateDTO(){
 
    }
}