// ================================================================================= // 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:"软删除时间"` // 软删除时间 }