cutego/modules/core/dataobject/sys_log.go

17 lines
415 B
Go
Raw Normal View History

2023-01-18 16:00:50 +08:00
package dataobject
2022-03-13 16:02:24 +08:00
import (
"time"
)
type SysLog struct {
Id int64 `xorm:"pk autoincr" json:"id"` // 主键
Uid string `xorm:"uid" json:"uid"` // 唯一主键
Content string `xorm:"varchar(255)" json:"content"` // 记录内容
CreateTime time.Time `xorm:"created"` // 创建时间
}
func (c SysLog) TableName() string {
return "sys_log"
}