17 lines
303 B
Go
17 lines
303 B
Go
package storages
|
|
|
|
import (
|
|
"backend/database/fields"
|
|
"backend/database/schemas/public/model"
|
|
)
|
|
|
|
type Storage struct {
|
|
model.Storages
|
|
}
|
|
|
|
type CreateStorageReq struct {
|
|
Name string `json:"name"`
|
|
Config fields.StorageConfig `json:"config"`
|
|
Type fields.StorageType `json:"type"`
|
|
}
|