shikeying
2024-01-11 3b67e947e36133e2a40eb2737b15ea375e157ea0
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
package com.walker.push.wx;
 
import java.io.Serializable;
import java.util.HashMap;
 
/**
 * 微信模板发送类
 * @author 时克英
 * @date 2023-08-21
 */
public class MessageTemplate implements Serializable {
 
    public MessageTemplate(){}
 
    public String getTouser() {
        return touser;
    }
 
    public void setTouser(String touser) {
        this.touser = touser;
    }
 
    public String getTemplate_id() {
        return template_id;
    }
 
    public void setTemplate_id(String template_id) {
        this.template_id = template_id;
    }
 
    public String getUrl() {
        return url;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
 
    public HashMap<String, MessageValue> getData() {
        return data;
    }
 
    public void setData(HashMap<String, MessageValue> data) {
        this.data = data;
    }
 
    public MiniProgram getMiniprogram() {
        return miniprogram;
    }
 
    public void setMiniprogram(MiniProgram miniprogram) {
        this.miniprogram = miniprogram;
    }
 
    public String getClient_msg_id() {
        return client_msg_id;
    }
 
    public void setClient_msg_id(String client_msg_id) {
        this.client_msg_id = client_msg_id;
    }
 
    private String client_msg_id;
    private MiniProgram miniprogram;
 
    //    @ApiModelProperty(value = "OPENID", required = true)
    private String touser;
 
//    @ApiModelProperty(value = "模板ID", required = true)
    private String template_id;
 
//    @ApiModelProperty(value = "模板跳转链接(海外帐号没有跳转能力)")
    private String url;
 
//    @ApiModelProperty(value = "发送内容")
    private HashMap<String, MessageValue> data;
 
    @Override
    public String toString() {
        return "MessageTemplate{" +
                "touser='" + touser + '\'' +
                ", template_id='" + template_id + '\'' +
                ", url='" + url + '\'' +
                ", data=" + data +
                '}';
    }
}