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

16 lines
457 B
Go
Raw Normal View History

2024-07-23 14:48:37 +08:00
package model
type BackupRecord struct {
BaseModel
From string `json:"from"`
CronjobID uint `json:"cronjobID"`
SourceAccountIDs string `json:"sourceAccountsIDs"`
DownloadAccountID uint `json:"downloadAccountID"`
Type string `gorm:"not null" json:"type"`
Name string `gorm:"not null" json:"name"`
DetailName string `json:"detailName"`
FileDir string `json:"fileDir"`
FileName string `json:"fileName"`
2024-07-23 14:48:37 +08:00
}