1Panel/backend/app/model/image_repo.go

16 lines
548 B
Go
Raw Normal View History

2022-10-09 08:17:15 +00:00
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"`
2022-10-09 08:17:15 +00:00
Username string `gorm:"type:varchar(256)" json:"username"`
Password string `gorm:"type:varchar(256)" json:"password"`
Auth bool `gorm:"type:varchar(256)" json:"auth"`
Status string `gorm:"type:varchar(64)" json:"status"`
Message string `gorm:"type:varchar(256)" json:"message"`
2022-10-09 08:17:15 +00:00
}