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

16 lines
589 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.go
// HomeCategory 首页分类表
// gen:qs
type HomeCategory struct {
Model
Name string `json:"name" gorm:"index"` // 分类名称
SortOrder uint32 `json:"sort_order" gorm:"index"` // 排序序号
State uint32 `json:"state" gorm:"index"` // 状态1-启用2-隐藏
AllFlag uint32 `json:"all_flag"` // 是否包含所有游戏0-不包含1-包含
OrderFlag uint32 `json:"order_flag"` // 是否根据销量排序0-不选择1-根据租赁数量排序
}