package viewmodels type BizDataInfo struct { BizId int64 `json:"bizId" xorm:"'biz_id' bigint pk comment('Biz ID') "` BizTitle string `json:"bizTitle" xorm:"'biz_title' varchar(50) comment('Biz Title') "` BizDesc string `json:"bizDesc" xorm:"'biz_desc' varchar(50) comment('Biz Desc') "` Objects []BizObjectInfo `json:"objects"` } func (t *BizDataInfo) TableName() string { return "biz" }