chenjiahe
2022-08-18 5ed8aa196eda2e6be4ad8cc632693ec16c8565a6
提交 | 用户 | age
6de4e8 1 package com.hz.sms.dto;
2
3
4 import java.util.List;
5
6 public class TemplateMsgDto {
5ed8aa 7     /** 小程序appid,必须是与当前应用关联的小程序 - Y*/
15ab19 8     private String appId;
6de4e8 9     /** 点击消息卡片后的小程序页面,最长1024个字节,仅限本小程序内的页面。该字段不填则消息点击后不跳转。 */
10     private String page;
5ed8aa 11     /** 消息标题,长度限制4-12个汉字(支持id转译)- Y*/
6de4e8 12     private String title;
5ed8aa 13     /** 消息描述,长度限制4-12个汉字(支持id转译)- Y*/
6de4e8 14     private String description;
5ed8aa 15     /** 是否放大第一个content_item,默认false - N*/
C 16     private boolean emphasisFirstItem = BOOLEAN_FALSE;
6de4e8 17     /** 消息内容键值对,最多允许10个item*/
15ab19 18     private List<ContentItemDto> contentItem;
6de4e8 19
5ed8aa 20     public static final boolean BOOLEAN_FALSE = false;
C 21     public static final boolean BOOLEAN_TRUE = false;
22
15ab19 23     public String getAppId() {
24         return appId;
6de4e8 25     }
26
15ab19 27     public void setAppId(String appId) {
28         this.appId = appId;
6de4e8 29     }
30
31     public String getPage() {
32         return page;
33     }
34
35     public void setPage(String page) {
36         this.page = page;
37     }
38
39     public String getTitle() {
40         return title;
41     }
42
43     public void setTitle(String title) {
44         this.title = title;
45     }
46
47     public String getDescription() {
48         return description;
49     }
50
51     public void setDescription(String description) {
52         this.description = description;
53     }
54
15ab19 55     public boolean isEmphasisFirstItem() {
56         return emphasisFirstItem;
6de4e8 57     }
58
15ab19 59     public void setEmphasisFirstItem(boolean emphasisFirstItem) {
60         this.emphasisFirstItem = emphasisFirstItem;
6de4e8 61     }
62
15ab19 63     public List<ContentItemDto> getContentItem() {
64         return contentItem;
6de4e8 65     }
66
15ab19 67     public void setContentItem(List<ContentItemDto> contentItem) {
68         this.contentItem = contentItem;
6de4e8 69     }
70 }