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"` }