初始化项目框架,完成部分接口开发
This commit is contained in:
22
internal/model/do/bookshelves.go
Normal file
22
internal/model/do/bookshelves.go
Normal file
@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// Bookshelves is the golang structure of table bookshelves for DAO operations like Where/Data.
|
||||
type Bookshelves struct {
|
||||
g.Meta `orm:"table:bookshelves, do:true"`
|
||||
Id interface{} // 记录ID
|
||||
UserId interface{} // 用户ID
|
||||
BookId interface{} // 小说ID
|
||||
AddedAt *gtime.Time // 加入书架时间
|
||||
LastReadChapterId interface{} // 最后阅读章节ID
|
||||
LastReadPercent interface{} // 阅读进度百分比(0.00~100.00)
|
||||
LastReadAt *gtime.Time // 最后阅读时间
|
||||
}
|
||||
Reference in New Issue
Block a user