com.zopen.wechat.mp.dto.message.template.TemplateMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zopen-ato-starter Show documentation
Show all versions of zopen-ato-starter Show documentation
Alibaba Tencent And Others For Spring Boot.
package com.zopen.wechat.mp.dto.message.template;
import java.util.Map;
public class TemplateMessage {
// * 接收者openid
private String touser;
// * 模板ID
private String template_id;
// 模板跳转链接(海外帐号没有跳转能力)
private String url;
// * 模板数据
private Map data;
public TemplateMessage() {
}
public TemplateMessage(String touser, String template_id, String url, Map data) {
this.touser = touser;
this.template_id = template_id;
this.url = url;
this.data = data;
}
public String getTouser() {
return this.touser;
}
public void setTouser(String touser) {
this.touser = touser;
}
public String getTemplate_id() {
return this.template_id;
}
public void setTemplate_id(String template_id) {
this.template_id = template_id;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public Map getData() {
return this.data;
}
public void setData(Map data) {
this.data = data;
}
}