package viewmodel type RepoInfo struct { RepoId int64 `json:"repoId" xorm:"'repo_id' bigint pk comment('Repo ID') "` RepoTitle string `json:"repoTitle" xorm:"'repo_title' varchar(127) comment('Repo Title') "` RepoTypeId int64 `json:"repoTypeId" xorm:"'repo_type_id' bigint comment('Repo Type ID') "` RepoTypeTitle string `json:"repoTypeTitle" xorm:"'repo_type_title' varchar(127) comment('Repo Title') "` RepoCatId int64 `json:"repoCatId" xorm:"'repo_cat_id' bigint comment('Repo Cat ID') "` RepoCatTitle string `json:"repoCatTitle" xorm:"'repo_cat_title' varchar(127) comment('Repo Cat Title') "` RepoHost string `json:"repoHost" xorm:"'repo_host' varchar(127) comment('Repo Host') "` RepoPort int64 `json:"repoPort" xorm:"'repo_port' bigint comment('Repo Port') "` RepoAccount string `json:"repoAccount" xorm:"'repo_account' varchar(127) comment('Repo Account') "` RepoPassword string `json:"repoPassword" xorm:"'repo_password' varchar(127) comment('Repo Password') "` RepoAccessKey string `json:"repoAccessKey" xorm:"'repo_access_key' varchar(127) comment('Repo Access Key') "` RepoSecretKey string `json:"repoSecretKey" xorm:"'repo_secret_key' varchar(127) comment('Repo Secret Key') "` RepoTarget string `json:"repoTarget" xorm:"'repo_target' varchar(255) comment('Repo Target') "` RepoDesc string `json:"repoDesc" xorm:"'repo_desc' varchar(255) comment('Repo Desc') "` Status int64 `json:"status" xorm:"'status' bigint comment('Status') "` } func (t *RepoInfo) TableName() string { return "repo" }