// ================================================================================= // 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=首页Banner,2=编辑推荐,3=分类推荐等 CoverUrl interface{} // 推荐封面图(横图) SortOrder interface{} // 展示排序,越小越靠前 Status interface{} // 是否启用:1=启用,0=禁用 CreatedAt *gtime.Time // 创建时间 UpdatedAt *gtime.Time // 更新时间 DeletedAt *gtime.Time // 软删除时间戳 }