| | |
| | | package com.hz.sms.dto; |
| | | |
| | | import lombok.Data; |
| | | import java.util.Map; |
| | | |
| | | |
| | | @Data |
| | | public class MpTemplateMsg { |
| | | //公众号appid,要求与小程序有绑定且同主体 |
| | | private String appid; |
| | | private String appId; |
| | | //公众号模板id |
| | | private String template_id; |
| | | private String templateId; |
| | | //公众号模板消息所要跳转的url |
| | | private String url; |
| | | //公众号模板消息所要跳转的小程序,小程序的必须与公众号具有绑定关系 |
| | | private String miniprogram; |
| | | private String minIProgram; |
| | | //公众号模板消息的数据 |
| | | private String data; |
| | | private Map<String, Keyword> data;; |
| | | |
| | | public String getAppid() { |
| | | return appid; |
| | | } |
| | | |
| | | public void setAppid(String appid) { |
| | | this.appid = appid; |
| | | } |
| | | |
| | | 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 String getMiniprogram() { |
| | | return miniprogram; |
| | | } |
| | | |
| | | public void setMiniprogram(String miniprogram) { |
| | | this.miniprogram = miniprogram; |
| | | } |
| | | |
| | | public String getData() { |
| | | return data; |
| | | } |
| | | |
| | | public void setData(String data) { |
| | | this.data = data; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "MpTemplateMsg{" + |
| | | "appid='" + appid + '\'' + |
| | | ", template_id='" + template_id + '\'' + |
| | | ", url='" + url + '\'' + |
| | | ", miniprogram='" + miniprogram + '\'' + |
| | | ", data='" + data + '\'' + |
| | | '}'; |
| | | } |
| | | } |