| 123456789101112131415161718192021 |
- package datamodel
- import "time"
- type RepoCat struct {
- RepoTypeId int64 `json:"repoTypeId" xorm:"'repo_type_id' bigint pk comment('主键ID') "`
- RepoCatId int64 `json:"repoCatId" xorm:"'repo_cat_id' bigint pk comment('主键ID') "`
- RepoCatTitle string `json:"repoCatTitle" xorm:"'repo_cat_title' varchar(127) comment('模型名称') "`
- RepoCatDesc string `json:"repoCatDesc" xorm:"'repo_cat_desc' varchar(511) comment('模型名称') "`
- 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 *RepoCat) TableName() string {
- return "repo_cat"
- }
|