22 lines
727 B
Go
22 lines
727 B
Go
// =================================================================================
|
||
// 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 // 创建时间
|
||
}
|