初始化项目框架,完成部分接口开发

This commit is contained in:
2025-07-10 21:04:29 +08:00
commit b2871ec0d2
168 changed files with 6399 additions and 0 deletions

View File

@ -0,0 +1,32 @@
// =================================================================================
// 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{} // 章节数
LatestChapterId interface{} // 最新章节ID
Rating interface{} // 评分0.00~10.00
ReadCount interface{} // 阅读人数
Tags interface{} // 标签(逗号分隔)
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间戳
IsRecommended interface{} // 是否推荐0=否1=是
}