package models import ( // "gorm.io/gorm" "go-admin/common/models" ) type OrgMatchEvaluate struct { models.Model TeamUserId string `json:"teamUserId" gorm:"type:bigint(20);comment:org_team_user表id(教练id)"` PlayerId string `json:"playerId" gorm:"type:bigint(20);comment:org_player表id(球员id)"` Content string `json:"content" gorm:"type:text;comment:教练评价内容"` WonderfulMomentImg string `json:"wonderfulMomentImg" gorm:"type:varchar(255);comment:精彩时刻图"` WonderfulMomentMv string `json:"wonderfulMomentMv" gorm:"type:varchar(255);comment:精彩时刻图标题"` WonderfulMomentImgTitle string `json:"wonderfulMomentImgTitle" gorm:"type:varchar(255);comment:精彩时刻视频"` WonderfulMomentMvTitle string `json:"wonderfulMomentMvTitle" gorm:"type:varchar(255);comment:精彩时刻视频标题"` models.ModelTime models.ControlBy } func (OrgMatchEvaluate) TableName() string { return "org_match_evaluate" } func (e *OrgMatchEvaluate) Generate() models.ActiveRecord { o := *e return &o } func (e *OrgMatchEvaluate) GetId() interface{} { return e.Id }