package datamodels import "time" type Repo struct { RepoId int64 `json:"repoId" xorm:"'repo_id' bigint pk comment('Repo ID') "` RepoTypeId int64 `json:"repoTypeId" xorm:"'repo_type_id' bigint pk comment('Repo Type ID') "` RepoCatId int64 `json:"repoCatId" xorm:"'repo_cat_id' bigint comment('Repo Cat ID') "` RepoTitle string `json:"repoTitle" xorm:"'repo_title' varchar(127) comment('Repo 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') "` 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 *Repo) TableName() string { return "repo" }