mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-13 03:50:07 +08:00
![ssongliu](/assets/img/avatar_default.png)
* feat: Add usage scope for backup accounts * fix: 解决计划任务列表不显示备份账号的问题 * feat: 统一备份文件大小获取接口
16 lines
439 B
Go
16 lines
439 B
Go
package model
|
|
|
|
type BackupAccount struct {
|
|
BaseModel
|
|
Name string `gorm:"not null;default:''" json:"name"`
|
|
Type string `gorm:"not null;default:''" json:"type"`
|
|
IsPublic bool `json:"isPublic"`
|
|
Bucket string `json:"bucket"`
|
|
AccessKey string `json:"accessKey"`
|
|
Credential string `json:"credential"`
|
|
BackupPath string `json:"backupPath"`
|
|
Vars string `json:"vars"`
|
|
|
|
RememberAuth bool `json:"rememberAuth"`
|
|
}
|