SmsMessageDTO.java
1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package com.diligrp.assistant.sms.domain;
import java.util.List;
public class SmsMessageDTO {
// 短信服务通道模版标识
private String templateId;
// 手机号
private String telephone;
// 手机号列表-批量发送时使用
private List<String> telephones;
// 模版变量
private List<ParamPair> params;
// 消息签名
private String signature;
// 是否异步发送短信
private boolean async;
public String getTemplateId() {
return templateId;
}
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
public String getTelephone() {
return telephone;
}
public void setTelephone(String telephone) {
this.telephone = telephone;
}
public List<String> getTelephones() {
return telephones;
}
public void setTelephones(List<String> telephones) {
this.telephones = telephones;
}
public List<ParamPair> getParams() {
return params;
}
public void setParams(List<ParamPair> params) {
this.params = params;
}
public String getSignature() {
return signature;
}
public void setSignature(String signature) {
this.signature = signature;
}
public boolean isAsync() {
return async;
}
public void setAsync(boolean async) {
this.async = async;
}
}