1Panel/core/app/model/backup.go
ssongliu 37df602ae8
Some checks failed
sync2gitee / repo-sync (push) Failing after -8m3s
feat: 提取分组及快速命令功能 (#6169)
2024-08-19 10:04:43 +00:00

19 lines
486 B
Go

package model
import "time"
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"`
EntryID uint `json:"entryID"`
DeletedAt time.Time `json:"deletedAt"`
}