童刚
2022-08-02 6de4e86086a1c7ab346e5f57e3ad10e2cf79c544
提交 | 用户 | age
6de4e8 1 package com.hz.sms.dto;
2
3
4 public class MpTemplateMsg {
5     //公众号appid,要求与小程序有绑定且同主体
6     private String appid;
7     //公众号模板id
8     private String template_id;
9     //公众号模板消息所要跳转的url
10     private String url;
11     //公众号模板消息所要跳转的小程序,小程序的必须与公众号具有绑定关系
12     private String miniprogram;
13     //公众号模板消息的数据
14     private String data;
15
16     public String getAppid() {
17         return appid;
18     }
19
20     public void setAppid(String appid) {
21         this.appid = appid;
22     }
23
24     public String getTemplate_id() {
25         return template_id;
26     }
27
28     public void setTemplate_id(String template_id) {
29         this.template_id = template_id;
30     }
31
32     public String getUrl() {
33         return url;
34     }
35
36     public void setUrl(String url) {
37         this.url = url;
38     }
39
40     public String getMiniprogram() {
41         return miniprogram;
42     }
43
44     public void setMiniprogram(String miniprogram) {
45         this.miniprogram = miniprogram;
46     }
47
48     public String getData() {
49         return data;
50     }
51
52     public void setData(String data) {
53         this.data = data;
54     }
55
56     @Override
57     public String toString() {
58         return "MpTemplateMsg{" +
59                 "appid='" + appid + '\'' +
60                 ", template_id='" + template_id + '\'' +
61                 ", url='" + url + '\'' +
62                 ", miniprogram='" + miniprogram + '\'' +
63                 ", data='" + data + '\'' +
64                 '}';
65     }
66 }