mh_server/model/home_category_game.go
chenlin ffed1465d3 1.新增"首页分类"相关接口;
2.小程序商城订单支付改成门店号改为"200001";
2025-01-03 16:40:54 +08:00

15 lines
549 B
Go
Raw 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.

package model
//go:generate goqueryset -in home_category_game.go
// HomeCategoryGame 分类与游戏关联表结构体
// gen:qs
type HomeCategoryGame struct {
Model
HomeCategoryID uint32 `json:"home_category_id" gorm:"index"` // 首页分类ID外键关联 HomeCategory
GameID uint32 `json:"game_id" gorm:"index"` // 游戏ID外键关联 GameCard
GameName string `json:"game_name"` // 游戏名称
SortOrder int `json:"sort_order" gorm:"index"` // 归属游戏中排序序号
}