70 lines
1.3 KiB
Plaintext
70 lines
1.3 KiB
Plaintext
package com.jysoft.weChat.vo;
|
|
|
|
import java.util.Map;
|
|
|
|
public class TemplateMessageVo {
|
|
// 接收者openid
|
|
private String touser;
|
|
// 模板消息ID
|
|
private String template_id;
|
|
// 用户点击模板信息的跳转页面
|
|
private String url;
|
|
// 标题颜色
|
|
private String topColor;
|
|
// 模板数据封装Map
|
|
private Map<String, ContentVo> data;
|
|
|
|
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 String getTopColor() {
|
|
return topColor;
|
|
}
|
|
|
|
public void setTopColor(String topColor) {
|
|
this.topColor = topColor;
|
|
}
|
|
|
|
public Map<String, ContentVo> getData() {
|
|
return data;
|
|
}
|
|
|
|
public void setData(Map<String, ContentVo> data) {
|
|
this.data = data;
|
|
}
|
|
|
|
public TemplateMessageVo(String touser, String template_id, String url, String topColor, Map<String, ContentVo> data) {
|
|
super();
|
|
this.touser = touser;
|
|
this.template_id = template_id;
|
|
this.url = url;
|
|
this.topColor = topColor;
|
|
this.data = data;
|
|
}
|
|
|
|
public TemplateMessageVo() {
|
|
}
|
|
|
|
}
|