feat: add storages

This commit is contained in:
Rogee
2025-01-14 20:13:25 +08:00
parent 48a0a6c195
commit 307509e787
12 changed files with 393 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
package storages
import (
"backend/database/fields"
"backend/database/models/qvyun_v2/public/model"
)
type Storage struct {
model.Storages
}
type CreateStorageReq struct {
Name string `json:"name"`
Config string `json:"config"`
Type fields.StorageType `json:"type"`
}