36 lines
1.4 KiB
Go
36 lines
1.4 KiB
Go
// =================================================================================
|
||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||
// =================================================================================
|
||
|
||
package do
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/frame/g"
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
)
|
||
|
||
// Books is the golang structure of table books for DAO operations like Where/Data.
|
||
type Books struct {
|
||
g.Meta `orm:"table:books, do:true"`
|
||
Id interface{} // 小说ID
|
||
AuthorId interface{} // 作者ID
|
||
CategoryId interface{} // 分类ID
|
||
Title interface{} // 小说标题
|
||
CoverUrl interface{} // 封面图片URL
|
||
Description interface{} // 小说简介
|
||
Status interface{} // 状态:1=连载中,2=完结,3=下架
|
||
WordsCount interface{} // 字数
|
||
ChaptersCount interface{} // 章节数
|
||
Rating interface{} // 评分(0.00~10.00)
|
||
ReadCount interface{} // 阅读人数
|
||
CurrentReaders interface{} // 在读人数
|
||
Tags interface{} // 标签(逗号分隔)
|
||
CreatedAt *gtime.Time // 创建时间
|
||
UpdatedAt *gtime.Time // 更新时间
|
||
DeletedAt *gtime.Time // 软删除时间戳
|
||
IsRecommended interface{} // 是否推荐:0=否,1=是
|
||
IsFeatured interface{} // 是否精选:0=否,1=是
|
||
IsHot interface{} // 是否热门:0=否,1=是
|
||
Language interface{} // 语言,如 zh=中文,en=英文,jp=日文
|
||
}
|