| 123456789101112131415161718192021 |
- package datamodel
- import "time"
- type Biz 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') "`
- CreatedBy int64 `json:"createdBy" xorm:"'created_by'"`
- CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"`
- UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"`
- UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"`
- DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"`
- DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"`
- DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"`
- }
- func (t *Biz) TableName() string {
- return "biz"
- }
|