Files
novel_server/internal/model/entity/user_chapter_purchases.go

20 lines
1.1 KiB
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// UserChapterPurchases is the golang structure for table user_chapter_purchases.
type UserChapterPurchases struct {
Id int64 `json:"id" orm:"id" description:"购买记录ID"` // 购买记录ID
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"` // 用户ID
BookId int64 `json:"bookId" orm:"book_id" description:"小说ID"` // 小说ID
ChapterId int64 `json:"chapterId" orm:"chapter_id" description:"章节ID"` // 章节ID
PointsUsed int `json:"pointsUsed" orm:"points_used" description:"消耗积分数"` // 消耗积分数
PurchaseTime *gtime.Time `json:"purchaseTime" orm:"purchase_time" description:"购买时间"` // 购买时间
}