1Panel/core/app/model/backup.go

20 lines
486 B
Go
Raw Normal View History

package model
import "time"
type BackupAccount struct {
BaseModel
2024-08-14 10:43:32 +08:00
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"`
2024-08-14 10:43:32 +08:00
RememberAuth bool `json:"rememberAuth"`
EntryID uint `json:"entryID"`
DeletedAt time.Time `json:"deletedAt"`
}