fusenapi/model/gmodel/fs_cloud_render_log_gen.go

23 lines
748 B
Go
Raw Permalink Normal View History

2023-06-19 01:53:35 +00:00
package gmodel
2023-06-16 11:04:13 +00:00
import (
"gorm.io/gorm"
)
// fs_cloud_render_log 云渲染日志表
type FsCloudRenderLog struct {
2023-06-19 10:27:31 +00:00
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // ID
UserId *int64 `gorm:"default:0;" json:"user_id"` // 用户id
2023-11-01 03:22:29 +00:00
GuestId *int64 `gorm:"default:0;" json:"guest_id"` // 游客id
2023-06-19 10:27:31 +00:00
PostData *string `gorm:"default:'';" json:"post_data"` //
Ctime *int64 `gorm:"default:0;" json:"ctime"` // 添加时间
2023-06-16 11:04:13 +00:00
}
type FsCloudRenderLogModel struct {
db *gorm.DB
name string
}
2023-06-16 11:04:13 +00:00
func NewFsCloudRenderLogModel(db *gorm.DB) *FsCloudRenderLogModel {
return &FsCloudRenderLogModel{db: db, name: "fs_cloud_render_log"}
}