17 lines
311 B
Go
17 lines
311 B
Go
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 fields.StorageConfig `json:"config"`
|
|
Type fields.StorageType `json:"type"`
|
|
}
|