提交 | 用户 | age
|
6de4e8
|
1 |
package com.hz.sms.dto; |
童 |
2 |
|
|
3 |
public class TemplateMessageDto { |
|
4 |
/** 标识 */ |
|
5 |
private String id; |
|
6 |
/** 企业ID */ |
|
7 |
private String corpid; |
|
8 |
/** 成员ID列表(消息接收者,多个接收者用‘|’分隔,最多支持1000个) */ |
|
9 |
private String touser; |
|
10 |
/** 部门ID列表,多个接收者用‘|’分隔,最多支持100个。 */ |
|
11 |
private String toparty; |
|
12 |
/** 标签ID列表,多个接收者用‘|’分隔,最多支持100个。 */ |
|
13 |
private String totag; |
|
14 |
/** 消息类型 ,此时固定为:miniprogram_notice */ |
|
15 |
private String msgtype = "miniprogram_notice"; |
|
16 |
/** 参数内容 */ |
|
17 |
private TemplateMsgDto miniprogram_notice; |
|
18 |
|
|
19 |
/** 表示是否开启id转译,0表示否,1表示是,默认0 */ |
|
20 |
private Integer enable_id_trans = 0; |
|
21 |
/** 表示是否开启重复消息检查,0表示否,1表示是,默认0 */ |
|
22 |
private Integer enable_duplicate_check = 0; |
|
23 |
/** 表示是否重复消息检查的时间间隔,默认1800s,最大不超过4小时 */ |
|
24 |
private Integer duplicate_check_interval = 1800; |
|
25 |
|
|
26 |
public String getId() { |
|
27 |
return id; |
|
28 |
} |
|
29 |
|
|
30 |
public void setId(String id) { |
|
31 |
this.id = id; |
|
32 |
} |
|
33 |
|
|
34 |
public String getCorpid() { |
|
35 |
return corpid; |
|
36 |
} |
|
37 |
|
|
38 |
public void setCorpid(String corpid) { |
|
39 |
this.corpid = corpid; |
|
40 |
} |
|
41 |
|
|
42 |
public String getTouser() { |
|
43 |
return touser; |
|
44 |
} |
|
45 |
|
|
46 |
public void setTouser(String touser) { |
|
47 |
this.touser = touser; |
|
48 |
} |
|
49 |
|
|
50 |
public String getToparty() { |
|
51 |
return toparty; |
|
52 |
} |
|
53 |
|
|
54 |
public void setToparty(String toparty) { |
|
55 |
this.toparty = toparty; |
|
56 |
} |
|
57 |
|
|
58 |
public String getTotag() { |
|
59 |
return totag; |
|
60 |
} |
|
61 |
|
|
62 |
public void setTotag(String totag) { |
|
63 |
this.totag = totag; |
|
64 |
} |
|
65 |
|
|
66 |
public String getMsgtype() { |
|
67 |
return msgtype; |
|
68 |
} |
|
69 |
|
|
70 |
public void setMsgtype(String msgtype) { |
|
71 |
this.msgtype = msgtype; |
|
72 |
} |
|
73 |
|
|
74 |
public TemplateMsgDto getMiniprogram_notice() { |
|
75 |
return miniprogram_notice; |
|
76 |
} |
|
77 |
|
|
78 |
public void setMiniprogram_notice(TemplateMsgDto miniprogram_notice) { |
|
79 |
this.miniprogram_notice = miniprogram_notice; |
|
80 |
} |
|
81 |
|
|
82 |
public Integer getEnable_id_trans() { |
|
83 |
return enable_id_trans; |
|
84 |
} |
|
85 |
|
|
86 |
public void setEnable_id_trans(Integer enable_id_trans) { |
|
87 |
this.enable_id_trans = enable_id_trans; |
|
88 |
} |
|
89 |
|
|
90 |
public Integer getEnable_duplicate_check() { |
|
91 |
return enable_duplicate_check; |
|
92 |
} |
|
93 |
|
|
94 |
public void setEnable_duplicate_check(Integer enable_duplicate_check) { |
|
95 |
this.enable_duplicate_check = enable_duplicate_check; |
|
96 |
} |
|
97 |
|
|
98 |
public Integer getDuplicate_check_interval() { |
|
99 |
return duplicate_check_interval; |
|
100 |
} |
|
101 |
|
|
102 |
public void setDuplicate_check_interval(Integer duplicate_check_interval) { |
|
103 |
this.duplicate_check_interval = duplicate_check_interval; |
|
104 |
} |
|
105 |
} |