- package viewmodel
- type BizInfo 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') "`
- IsFixed int64 `json:"isFixed" xorm:"'is_fixed' bigint comment('Is Fixed') "`
- }
- func (t *BizInfo) TableName() string {
- return "biz"
- }
|