生成表结构、
This commit is contained in:
21
internal/model/entity/competition_participants.go
Normal file
21
internal/model/entity/competition_participants.go
Normal file
@ -0,0 +1,21 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// CompetitionParticipants is the golang structure for table competition_participants.
|
||||
type CompetitionParticipants 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
|
||||
RegistrationTime *gtime.Time `json:"registrationTime" orm:"registration_time" description:"报名时间"` // 报名时间
|
||||
Status int `json:"status" orm:"status" description:"参赛状态:1=已报名,2=已取消,3=已禁赛"` // 参赛状态:1=已报名,2=已取消,3=已禁赛
|
||||
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:"软删除时间"` // 软删除时间
|
||||
}
|
||||
Reference in New Issue
Block a user