1Panel/core/app/model/backup.go
2024-08-14 10:43:32 +08:00

17 lines
465 B
Go

package model
type BackupAccount struct {
BaseModel
Name string `gorm:"unique;not null" json:"name"`
Type string `gorm:"unique;not null" json:"type"`
Bucket string `json:"bucket"`
AccessKey string `json:"accessKey"`
Credential string `json:"credential"`
BackupPath string `json:"backupPath"`
Vars string `json:"vars"`
RememberAuth bool `json:"rememberAuth"`
InUsed bool `json:"inUsed"`
EntryID uint `json:"entryID"`
}