生成表结构、
This commit is contained in:
26
internal/model/do/competition_awards.go
Normal file
26
internal/model/do/competition_awards.go
Normal file
@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// CompetitionAwards is the golang structure of table competition_awards for DAO operations like Where/Data.
|
||||
type CompetitionAwards struct {
|
||||
g.Meta `orm:"table:competition_awards, do:true"`
|
||||
Id interface{} // 赛事获奖ID
|
||||
CompetitionId interface{} // 赛事ID
|
||||
UserId interface{} // 获奖用户ID
|
||||
AwardRank interface{} // 获奖名次(1:冠军,2:亚军,3:季军,依次类推)
|
||||
RewardType interface{} // 奖励类型:1=平台奖励,2=门店奖励
|
||||
RewardId interface{} // 对应奖励ID
|
||||
Amount interface{} // 奖励数量
|
||||
IssuedAt *gtime.Time // 奖励发放时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间
|
||||
}
|
||||
Reference in New Issue
Block a user