Files

36 lines
1.4 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// =================================================================================
// 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=日文
}