Files
novel_server/internal/model/do/chapters.go

27 lines
1008 B
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"
)
// 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 // 软删除时间戳
}