生成表结构、

This commit is contained in:
2025-05-29 16:23:14 +08:00
parent e8a8e36d61
commit ea87bc829e
97 changed files with 3795 additions and 0 deletions

View File

@ -0,0 +1,24 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// CompetitionAwards is the golang structure for table competition_awards.
type CompetitionAwards struct {
Id int64 `json:"id" orm:"id" description:"赛事获奖ID"` // 赛事获奖ID
CompetitionId int64 `json:"competitionId" orm:"competition_id" description:"赛事ID"` // 赛事ID
UserId int64 `json:"userId" orm:"user_id" description:"获奖用户ID"` // 获奖用户ID
AwardRank int `json:"awardRank" orm:"award_rank" description:"获奖名次1:冠军2:亚军3:季军,依次类推)"` // 获奖名次1:冠军2:亚军3:季军,依次类推)
RewardType int `json:"rewardType" orm:"reward_type" description:"奖励类型1=平台奖励2=门店奖励"` // 奖励类型1=平台奖励2=门店奖励
RewardId int64 `json:"rewardId" orm:"reward_id" description:"对应奖励ID"` // 对应奖励ID
Amount int `json:"amount" orm:"amount" description:"奖励数量"` // 奖励数量
IssuedAt *gtime.Time `json:"issuedAt" orm:"issued_at" description:"奖励发放时间"` // 奖励发放时间
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:"软删除时间"` // 软删除时间
}