mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-02 08:36:51 +08:00
13 lines
433 B
Go
13 lines
433 B
Go
package model
|
|
|
|
type ImageRepo struct {
|
|
BaseModel
|
|
|
|
Name string `gorm:"type:varchar(64);not null" json:"name"`
|
|
DownloadUrl string `gorm:"type:varchar(256)" json:"downloadUrl"`
|
|
Protocol string `gorm:"type:varchar(64)" json:"protocol"`
|
|
Username string `gorm:"type:varchar(256)" json:"username"`
|
|
Password string `gorm:"type:varchar(256)" json:"password"`
|
|
Auth bool `gorm:"type:varchar(256)" json:"auth"`
|
|
}
|