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