match_detail.go 836 B

123456789101112131415161718192021
  1. package model
  2. // MatchDetail .
  3. type MatchDetail struct {
  4. ID int64 `json:"id" form:"id"`
  5. MaID int64 `json:"ma_id" form:"ma_id" validate:"required"`
  6. GameType int64 `json:"game_type" form:"game_type" validate:"required"`
  7. Stime int64 `json:"stime" form:"stime" validate:"required"`
  8. Etime int64 `json:"etime" form:"etime" validate:"required"`
  9. GameStage string `json:"game_stage" form:"game_stage" validate:"required"`
  10. KnockoutType int64 `json:"knockout_type" form:"knockout_type"`
  11. WinnerType int64 `json:"winner_type" form:"winner_type"`
  12. ScoreID int64 `json:"score_id" form:"score_id"`
  13. Status int `json:"status" form:"status"`
  14. Online int `json:"online" form:"online"`
  15. }
  16. // TableName .
  17. func (t MatchDetail) TableName() string {
  18. return "es_matchs_detail"
  19. }