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

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,26 @@
// =================================================================================
// 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"
)
// Chapters is the golang structure of table chapters for DAO operations like Where/Data.
type Chapters struct {
g.Meta `orm:"table:chapters, do:true"`
Id interface{} // 章节ID
BookId interface{} // 小说ID
Title interface{} // 章节标题
Content interface{} // 章节内容
WordCount interface{} // 章节字数
Sort interface{} // 排序序号
IsLocked interface{} // 是否锁定0=免费1=需积分解锁
RequiredScore interface{} // 解锁该章节所需积分
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间戳
}