You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
844 B
16 lines
844 B
package sqlmodel
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type BoUserSms struct {
|
|
Id int `xorm:"not null pk autoincr comment('自增长id') INT"`
|
|
From string `xorm:"not null comment('发送方标识;支持SenderId的发送,只允许数字+字母,含有字母标识最长11位,纯数字标识支持15位') VARCHAR(255)"`
|
|
To string `xorm:"not null comment('接收短信号码;号码格式为:国际区号+号码') VARCHAR(255)"`
|
|
Message string `xorm:"comment('短信内容') VARCHAR(255)"`
|
|
TaskId string `xorm:"comment('任务ID;长度不要超过255') VARCHAR(255)"`
|
|
MessageResult string `xorm:"comment('返回消息结果') VARCHAR(255)"`
|
|
CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"`
|
|
UpdateTime time.Time `xorm:"not null comment('更新时间') DATETIME"`
|
|
}
|
|
|