class ShortMessage extends Object
短信
| Type | Name and description |
|---|---|
Long |
applicationId所属应用 |
Integer |
attemptCount失败重试的次数 |
Date |
attemptDate下次重试的时间 |
static Object |
constraints |
String |
createdBy创建人 |
Date |
dateCreated创建时间 |
String |
ext扩展字段 |
String |
from发送人:名称 <手机号> |
Long |
fromUserId发送人 |
static Object |
hasMany |
static Map |
listFields |
static Object |
mapping |
Date |
sentDate实际发送时间 |
Date |
sentDateSche定时发送时间 |
String |
signature签名 |
MessageStatus |
status发送状态 |
String |
statusCode返回状态码 |
String |
statusMessage返回状态的说明 |
String |
text消息正文 |
List<String> |
to接收人:名称 <手机号> |
static Object |
transients |
| Type | Name and description |
|---|---|
Object |
beforeValidate() |
DomainApplication |
getApplication() |
User |
getFromUser() |
List<Map<String, String>> |
getMobiles()从属性 to 中拆出接收人名称和手机号 |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
所属应用
失败重试的次数
下次重试的时间
创建人
创建时间
扩展字段
发短信时,可用来存储一些判断条件或其他信息,比如系统存在两个短信接口1和2,则ext为1时调用接口1、2时调用接口2。
发送人:名称 <手机号>
发送人
实际发送时间
定时发送时间
签名
发送状态
返回状态码
返回状态的说明
消息正文
接收人:名称 <手机号>
从属性 to 中拆出接收人名称和手机号