Files
novel_server/internal/model/do/book_ratings.go

22 lines
727 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// =================================================================================
// 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 // 创建时间
}