biz_data_info.go 502 B

123456789101112
  1. package viewmodels
  2. type BizDataInfo struct {
  3. BizId int64 `json:"bizId" xorm:"'biz_id' bigint pk comment('Biz ID') "`
  4. BizTitle string `json:"bizTitle" xorm:"'biz_title' varchar(50) comment('Biz Title') "`
  5. BizDesc string `json:"bizDesc" xorm:"'biz_desc' varchar(50) comment('Biz Desc') "`
  6. Objects []BizObjectInfo `json:"objects"`
  7. }
  8. func (t *BizDataInfo) TableName() string {
  9. return "biz"
  10. }