- package viewmodel
- type RepoTypeInfo struct {
- RepoTypeId int64 `json:"repoTypeId" xorm:"'repo_type_id' bigint pk comment('主键ID') "`
- RepoTypeTitle string `json:"repoTypeTitle" xorm:"'repo_type_title' varchar(50) comment('模型名称') "`
- RepoTypeDesc string `json:"repoTypeDesc" xorm:"'repo_type_desc' varchar(255) comment('模型名称') "`
- }
- func (t *RepoTypeInfo) TableName() string {
- return "repo_type"
- }
|