提交 | 用户 | age
|
6de4e8
|
1 |
package com.hz.sms.dto; |
童 |
2 |
|
6dde8c
|
3 |
import lombok.Data; |
6de4e8
|
4 |
import java.util.Date; |
童 |
5 |
|
6dde8c
|
6 |
@Data |
6de4e8
|
7 |
public class SmsGeneralSendDto { |
童 |
8 |
|
5ed8aa
|
9 |
/**短信类型 - Y*/ |
C |
10 |
private Integer smsType; |
|
11 |
/**短信内容 - Y*/ |
6de4e8
|
12 |
private String msg; |
5ed8aa
|
13 |
/**接收人名称 - N*/ |
C |
14 |
private String receiveMan; |
|
15 |
/**手机号码 - Y*/ |
6de4e8
|
16 |
private String phone; |
771d5e
|
17 |
/**定时发送短信时间,值小于或等于当前时间则立即发送,默认立即发送:格式yyyy-MM-dd HH:mm:dd - N*/ |
5ed8aa
|
18 |
private Date sendTime; |
771d5e
|
19 |
/**如需状态报告则传true - N*/ |
6dde8c
|
20 |
private String report; |
5ed8aa
|
21 |
/**下发短信号码扩展码 - N*/ |
6de4e8
|
22 |
private String extend; |
5ed8aa
|
23 |
/**该条短信在您业务系统内的ID,可不填 - N*/ |
6de4e8
|
24 |
private String uid; |
5ed8aa
|
25 |
/** 发送模式 (0: 立即发送; 1:异步发送,默认1) - Y*/ |
C |
26 |
private Integer sendModel = SEND_TYPE_ASYNCHRONOUS; |
|
27 |
|
|
28 |
/**短信类型-短信验证码*/ |
|
29 |
public static final int SMS_TYPE_VERIFICATION = 0; |
|
30 |
/**短信类型-通知短信*/ |
|
31 |
public static final int SMS_TYPE_NOTICE = 1; |
|
32 |
/**短信类型-营销短信*/ |
|
33 |
public static final int SMS_TYPE_MARKETING= 2; |
|
34 |
|
|
35 |
/**发送类型-立即发送*/ |
|
36 |
public static final int SEND_TYPE_IMMEDIATELY = 0; |
|
37 |
/**发送类型-异步发送*/ |
|
38 |
public static final int SEND_TYPE_ASYNCHRONOUS = 1; |
|
39 |
|
|
40 |
/**数字0*/ |
|
41 |
public static final int NUMBER_0 = 0; |
|
42 |
/**数字1*/ |
|
43 |
public static final int NUMBER_1 = 1; |
6de4e8
|
44 |
|
童 |
45 |
|
|
46 |
|
5ed8aa
|
47 |
|
6de4e8
|
48 |
} |