Files
arenax-server/internal/model/entity/competition_awards.go
2025-05-29 16:23:14 +08:00

25 lines
2.0 KiB
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.

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