互动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
823 B

5 years ago
5 years ago
5 years ago
  1. package models
  2. //const BaheHistoryTableName = TableNamePrefix + "bahe_history"
  3. //
  4. ////拔河的比赛结果的记录
  5. //type BaheHistory struct {
  6. // Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  7. // ActivityId int `json:"activity_id" xorm:"not null comment('主活动的id') INT(11)"`
  8. // WinnerId int `json:"winner_id" xorm:"not null comment('胜利队伍id') INT(11)"`
  9. // MatchRes string `json:"match_res" xorm:"not null comment('比赛结果信息,[team_id=>人数,...]') INT(11)"`
  10. // IsDelete bool `json:"is_delete" xorm:"default(0)"`
  11. // CreatedAt time.Time `json:"-" xorm:"created" description:"创建时间"`
  12. // UpdatedAt time.Time `json:"-" xorm:"updated" description:"更新时间"`
  13. //}
  14. //
  15. //func (t *BaheHistory) TableName() string {
  16. // return BaheHistoryTableName
  17. //}