- package viewmodels
- type RepoCatInfo 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('模型名称') "`
- }
- func (t *RepoCatInfo) TableName() string {
- return "repo_cat"
- }
|