feat: add storages
This commit is contained in:
16
backend/app/http/storages/dto.go
Normal file
16
backend/app/http/storages/dto.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user