提交 | 用户 | age
|
cf1c4f
|
1 |
package com.hx.phiappt.dto; |
6de4e8
|
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 |
} |