2024-07-23 14:48:37 +08:00
|
|
|
package model
|
|
|
|
|
|
|
|
type Snapshot struct {
|
|
|
|
BaseModel
|
2024-08-13 15:33:34 +08:00
|
|
|
Name string `json:"name" gorm:"not null;unique"`
|
2024-09-25 21:59:29 +08:00
|
|
|
Secret string `json:"secret"`
|
2024-08-13 15:33:34 +08:00
|
|
|
Description string `json:"description"`
|
2024-08-14 10:15:55 +08:00
|
|
|
SourceAccountIDs string `json:"sourceAccountIDs"`
|
2024-08-13 15:33:34 +08:00
|
|
|
DownloadAccountID uint `json:"downloadAccountID"`
|
|
|
|
Status string `json:"status"`
|
|
|
|
Message string `json:"message"`
|
|
|
|
Version string `json:"version"`
|
2024-07-23 14:48:37 +08:00
|
|
|
|
2024-09-25 21:59:29 +08:00
|
|
|
TaskID string `json:"taskID"`
|
|
|
|
TaskRecoverID string `json:"taskRecoverID"`
|
|
|
|
TaskRollbackID string `json:"taskRollbackID"`
|
|
|
|
|
|
|
|
AppData string `json:"appData"`
|
|
|
|
PanelData string `json:"panelData"`
|
|
|
|
BackupData string `json:"backupData"`
|
|
|
|
WithMonitorData bool `json:"withMonitorData"`
|
|
|
|
WithLoginLog bool `json:"withLoginLog"`
|
|
|
|
WithOperationLog bool `json:"withOperationLog"`
|
|
|
|
WithSystemLog bool `json:"withSystemLog"`
|
|
|
|
WithTaskLog bool `json:"withTaskLog"`
|
|
|
|
|
2024-08-13 15:33:34 +08:00
|
|
|
InterruptStep string `json:"interruptStep"`
|
|
|
|
RecoverStatus string `json:"recoverStatus"`
|
|
|
|
RecoverMessage string `json:"recoverMessage"`
|
|
|
|
RollbackStatus string `json:"rollbackStatus"`
|
|
|
|
RollbackMessage string `json:"rollbackMessage"`
|
2024-07-23 14:48:37 +08:00
|
|
|
}
|