生成表结构、
This commit is contained in:
23
internal/model/do/competition_participants.go
Normal file
23
internal/model/do/competition_participants.go
Normal file
@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// CompetitionParticipants is the golang structure of table competition_participants for DAO operations like Where/Data.
|
||||
type CompetitionParticipants struct {
|
||||
g.Meta `orm:"table:competition_participants, do:true"`
|
||||
Id interface{} // 参赛记录ID
|
||||
CompetitionId interface{} // 赛事ID
|
||||
UserId interface{} // 参赛用户ID
|
||||
RegistrationTime *gtime.Time // 报名时间
|
||||
Status interface{} // 参赛状态:1=已报名,2=已取消,3=已禁赛
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间
|
||||
}
|
||||
Reference in New Issue
Block a user