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