org_match_evaluate.go 1.8 KB
Newer Older
haoyanbin's avatar
1  
haoyanbin committed
1 2 3
package models

import (
haoyanbin's avatar
haoyanbin committed
4
	// "gorm.io/gorm"
haoyanbin's avatar
1  
haoyanbin committed
5 6 7 8 9

	"go-admin/common/models"
)

type OrgMatchEvaluate struct {
haoyanbin's avatar
haoyanbin committed
10
	models.Model
haoyanbin's avatar
haoyanbin committed
11 12
	MatchId                 string `json:"matchId" gorm:"type:bigint(20);comment:比赛id"`
	Rounds                  string `json:"rounds" gorm:"type:bigint(20);comment:轮次"`
haoyanbin's avatar
haoyanbin committed
13 14 15
	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:教练评价内容"`
haoyanbin's avatar
1  
haoyanbin committed
16
	ContentStatus           string `json:"contentStatus" gorm:"type:bigint(20);comment:教练评价状态 1 待评价 2 评价完成"`
haoyanbin's avatar
haoyanbin committed
17 18 19 20 21 22 23 24 25
	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:精彩时刻视频标题"`
	MvStatus                string `json:"mvStatus" gorm:"type:bigint(20);comment:视频维护状态 1 待维护 2 维护完成 3 驳回 4 维护完成"`
	Status                  string `json:"status" gorm:"type:bigint(20);comment:发布状态 1 待审核 3 驳回 4 发布完成"`
	Remark                  string `json:"remark" gorm:"type:varchar(255);comment:驳回原因"`
	models.ModelTime
	models.ControlBy
haoyanbin's avatar
1  
haoyanbin committed
26 27 28
}

func (OrgMatchEvaluate) TableName() string {
haoyanbin's avatar
haoyanbin committed
29
	return "org_match_evaluate"
haoyanbin's avatar
1  
haoyanbin committed
30 31 32 33 34 35 36 37 38
}

func (e *OrgMatchEvaluate) Generate() models.ActiveRecord {
	o := *e
	return &o
}

func (e *OrgMatchEvaluate) GetId() interface{} {
	return e.Id
haoyanbin's avatar
haoyanbin committed
39
}