生成表结构、
This commit is contained in:
29
internal/model/do/competitions.go
Normal file
29
internal/model/do/competitions.go
Normal file
@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// Competitions is the golang structure of table competitions for DAO operations like Where/Data.
|
||||
type Competitions struct {
|
||||
g.Meta `orm:"table:competitions, do:true"`
|
||||
Id interface{} // 赛事唯一标识符
|
||||
Name interface{} // 赛事名称
|
||||
Description interface{} // 赛事描述
|
||||
GameMode interface{} // 游戏模式
|
||||
Conditions interface{} // 赛事条件
|
||||
Rules interface{} // 赛事规则说明
|
||||
StartTime *gtime.Time // 赛事开始时间
|
||||
EndTime *gtime.Time // 赛事结束时间
|
||||
IsActive interface{} // 赛事是否启用
|
||||
MerchantId interface{} // 所属商户ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user