初始化项目框架,完成部分接口开发
This commit is contained in:
21
internal/model/do/user_chapter_purchases.go
Normal file
21
internal/model/do/user_chapter_purchases.go
Normal file
@ -0,0 +1,21 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// UserChapterPurchases is the golang structure of table user_chapter_purchases for DAO operations like Where/Data.
|
||||
type UserChapterPurchases struct {
|
||||
g.Meta `orm:"table:user_chapter_purchases, do:true"`
|
||||
Id interface{} // 购买记录ID
|
||||
UserId interface{} // 用户ID
|
||||
BookId interface{} // 小说ID
|
||||
ChapterId interface{} // 章节ID
|
||||
PointsUsed interface{} // 消耗积分数
|
||||
PurchaseTime *gtime.Time // 购买时间
|
||||
}
|
||||
Reference in New Issue
Block a user