初始化项目框架,完成部分接口开发

This commit is contained in:
2025-07-10 21:04:29 +08:00
commit b2871ec0d2
168 changed files with 6399 additions and 0 deletions

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