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