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.
|
|
package models
//拔河比赛活动
//type BaheActivity struct {
// Id int64 `json:"id"`
// ActivityId int64 `json:"activity_id" description:"活动的id"`
// BaheActivityName string `json:"bahe_activity_name" description:"拔河名称"`
// RandomTeam string `json:"random_team" description:"[开启,关闭]随机组队模式"`
// MaxMoreCode string `json:"max_more_code" description:"[开启,关闭]大屏多二维码模式"`
// H5Choose string `json:"h_5_choose" description:"[开启,关闭]h5挑选队伍"`
// BaheActivityStatus string `json:"bahe_activity_status" description:"拔河活动状态[未开始,进行中,结束]"`
// IsDelete bool `json:"is_delete" xorm:"default(0)" description:"是否删除"`
// CreatedAt time.Time `json:"-" xorm:"created" description:"创建时间"`
// UpdatedAt time.Time `json:"-" xorm:"updated" description:"更新时间"`
//}
//func (b *BaheActivity) GetBaheActivityById(id int64) (bool, error) {
// return core.GetXormAuto().Where("id=? and is_delete=?", id, false).Get(b)
//}
|