生成表结构、
This commit is contained in:
27
internal/model/entity/competitions.go
Normal file
27
internal/model/entity/competitions.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Competitions is the golang structure for table competitions.
|
||||
type Competitions struct {
|
||||
Id int64 `json:"id" orm:"id" description:"赛事唯一标识符"` // 赛事唯一标识符
|
||||
Name string `json:"name" orm:"name" description:"赛事名称"` // 赛事名称
|
||||
Description string `json:"description" orm:"description" description:"赛事描述"` // 赛事描述
|
||||
GameMode string `json:"gameMode" orm:"game_mode" description:"游戏模式"` // 游戏模式
|
||||
Conditions string `json:"conditions" orm:"conditions" description:"赛事条件"` // 赛事条件
|
||||
Rules string `json:"rules" orm:"rules" description:"赛事规则说明"` // 赛事规则说明
|
||||
StartTime *gtime.Time `json:"startTime" orm:"start_time" description:"赛事开始时间"` // 赛事开始时间
|
||||
EndTime *gtime.Time `json:"endTime" orm:"end_time" description:"赛事结束时间"` // 赛事结束时间
|
||||
IsActive int `json:"isActive" orm:"is_active" description:"赛事是否启用"` // 赛事是否启用
|
||||
MerchantId int64 `json:"merchantId" orm:"merchant_id" description:"所属商户ID"` // 所属商户ID
|
||||
StoreId int64 `json:"storeId" orm:"store_id" description:"所属门店ID"` // 所属门店ID
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user