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

25 lines
1008 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"
)
// BookRecommendations is the golang structure of table book_recommendations for DAO operations like Where/Data.
type BookRecommendations struct {
g.Meta `orm:"table:book_recommendations, do:true"`
Id interface{} // 主键
BookId interface{} // 书籍ID关联 books 表
Type interface{} // 推荐类型1=首页Banner2=编辑推荐3=分类推荐等
CoverUrl interface{} // 推荐封面图(横图)
SortOrder interface{} // 展示排序,越小越靠前
Status interface{} // 是否启用1=启用0=禁用
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间戳
}