| | |
| | | |
| | | public class TemplateMsgDto { |
| | | /** 小程序appid,必须是与当前应用关联的小程序 */ |
| | | private String appid; |
| | | private String appId; |
| | | /** 点击消息卡片后的小程序页面,最长1024个字节,仅限本小程序内的页面。该字段不填则消息点击后不跳转。 */ |
| | | private String page; |
| | | /** 消息标题,长度限制4-12个汉字(支持id转译)*/ |
| | |
| | | /** 消息描述,长度限制4-12个汉字(支持id转译)*/ |
| | | private String description; |
| | | /** 是否放大第一个content_item*/ |
| | | private boolean emphasis_first_item; |
| | | private boolean emphasisFirstItem; |
| | | /** 消息内容键值对,最多允许10个item*/ |
| | | private List<ContentItemDto> content_item; |
| | | private List<ContentItemDto> contentItem; |
| | | |
| | | public String getAppid() { |
| | | return appid; |
| | | public String getAppId() { |
| | | return appId; |
| | | } |
| | | |
| | | public void setAppid(String appid) { |
| | | this.appid = appid; |
| | | public void setAppId(String appId) { |
| | | this.appId = appId; |
| | | } |
| | | |
| | | public String getPage() { |
| | |
| | | this.description = description; |
| | | } |
| | | |
| | | public boolean isEmphasis_first_item() { |
| | | return emphasis_first_item; |
| | | public boolean isEmphasisFirstItem() { |
| | | return emphasisFirstItem; |
| | | } |
| | | |
| | | public void setEmphasis_first_item(boolean emphasis_first_item) { |
| | | this.emphasis_first_item = emphasis_first_item; |
| | | public void setEmphasisFirstItem(boolean emphasisFirstItem) { |
| | | this.emphasisFirstItem = emphasisFirstItem; |
| | | } |
| | | |
| | | public List<ContentItemDto> getContent_item() { |
| | | return content_item; |
| | | public List<ContentItemDto> getContentItem() { |
| | | return contentItem; |
| | | } |
| | | |
| | | public void setContent_item(List<ContentItemDto> content_item) { |
| | | this.content_item = content_item; |
| | | public void setContentItem(List<ContentItemDto> contentItem) { |
| | | this.contentItem = contentItem; |
| | | } |
| | | } |