初始化项目框架,完成部分接口开发
This commit is contained in:
21
internal/model/do/book_ratings.go
Normal file
21
internal/model/do/book_ratings.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"
|
||||
)
|
||||
|
||||
// BookRatings is the golang structure of table book_ratings for DAO operations like Where/Data.
|
||||
type BookRatings struct {
|
||||
g.Meta `orm:"table:book_ratings, do:true"`
|
||||
Id interface{} // 评分ID
|
||||
UserId interface{} // 用户ID
|
||||
BookId interface{} // 小说ID
|
||||
Score interface{} // 评分(0~10)
|
||||
Comment interface{} // 用户评论
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
}
|
||||
Reference in New Issue
Block a user