| package com.matrix.component.tools; | 
|   | 
| import java.util.Map; | 
|   | 
| public class WxTemplate { | 
|       /** | 
|      * 模板消息id | 
|      */ | 
|     private String templateId; | 
|     /** | 
|      * 用户openId | 
|      */ | 
|     private String touser; | 
|     /** | 
|      * URL置空,则在发送后,点击模板消息会进入一个空白页面(ios),或无法点击(android) | 
|      */ | 
|     private String page; | 
|   | 
|   | 
|     /** | 
|      * 详细内容 | 
|      */ | 
|     private Map<String,Object> data; | 
|      | 
|   | 
|     public String getTouser() { | 
|         return touser; | 
|     } | 
|     public void setTouser(String touser) { | 
|         this.touser = touser; | 
|     } | 
|   | 
|   | 
|     public Map<String, Object> getData() { | 
|         return data; | 
|     } | 
|     public void setData(Map<String, Object> data) { | 
|         this.data = data; | 
|     } | 
|   | 
|     public String getTemplateId() { | 
|         return templateId; | 
|     } | 
|   | 
|     public void setTemplateId(String templateId) { | 
|         this.templateId = templateId; | 
|     } | 
|   | 
|     public String getPage() { | 
|         return page; | 
|     } | 
|   | 
|     public void setPage(String page) { | 
|         this.page = page; | 
|     } | 
| } |