// ================================================================================= // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity import ( "github.com/gogf/gf/v2/os/gtime" ) // Chapters is the golang structure for table chapters. type Chapters struct { Id int64 `json:"id" orm:"id" description:"章节ID"` // 章节ID BookId int64 `json:"bookId" orm:"book_id" description:"小说ID"` // 小说ID Title string `json:"title" orm:"title" description:"章节标题"` // 章节标题 Content string `json:"content" orm:"content" description:"章节内容"` // 章节内容 WordCount int `json:"wordCount" orm:"word_count" description:"章节字数"` // 章节字数 Sort int `json:"sort" orm:"sort" description:"排序序号"` // 排序序号 IsLocked int `json:"isLocked" orm:"is_locked" description:"是否锁定:0=免费,1=需积分解锁"` // 是否锁定:0=免费,1=需积分解锁 RequiredScore int `json:"requiredScore" orm:"required_score" description:"解锁该章节所需积分"` // 解锁该章节所需积分 CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间 UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间 DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳 }