Files
x_admin/server/model/system_log_sms.go
2024-08-12 02:25:15 +08:00

19 lines
1.0 KiB
Go

package model
import (
"x_admin/core"
)
// SystemLogSms 系统短信日志实体
type SystemLogSms struct {
Id int `json:"id" gorm:"primarykey;"` // id
Scene int `json:"scene"` // 场景编号
Mobile string `json:"mobile"` // 手机号码
Content string `json:"content"` // 发送内容
Status int `json:"status"` // 发送状态:[0=发送中, 1=发送成功, 2=发送失败]
Results string `json:"results"` // 短信结果
SendTime int `json:"send_time" mapstructure:"send_time"` // 发送时间
CreateTime core.TsTime `json:"CreateTime" gorm:"autoCreateTime;comment:'创建时间'"` // 创建时间
UpdateTime core.TsTime `json:"UpdateTime" gorm:"autoUpdateTime;comment:'更新时间'"` // 更新时间
}