repo_cat_info.go 621 B

12345678910111213
  1. package viewmodels
  2. type RepoCatInfo struct {
  3. RepoTypeId int64 `json:"repoTypeId" xorm:"'repo_type_id' bigint pk comment('主键ID') "`
  4. RepoCatId int64 `json:"repoCatId" xorm:"'repo_cat_id' bigint pk comment('主键ID') "`
  5. RepoCatTitle string `json:"repoCatTitle" xorm:"'repo_cat_title' varchar(127) comment('模型名称') "`
  6. RepoCatDesc string `json:"repoCatDesc" xorm:"'repo_cat_desc' varchar(511) comment('模型名称') "`
  7. }
  8. func (t *RepoCatInfo) TableName() string {
  9. return "repo_cat"
  10. }