applied models changes

This commit is contained in:
pb
2024-03-18 11:25:59 +01:00
parent f35c1f6190
commit 2767ac4158
7 changed files with 29 additions and 16 deletions

View File

@@ -12,9 +12,10 @@ type StorageNEWModel struct {
Description string `json:"description" required:"true"`
ShortDescription string `json:"short_description" required:"true" validate:"required"`
Logo string `json:"logo" required:"true" validate:"required"`
Type string `json:"type,omitempty" required:"true"`
// Type string `json:"type,omitempty" required:"true"`
DCacronym string `json:"DCacronym" required:"true" description:"Unique ID of the DC where it is the storage"`
URL string `json:"URL"`
Size uint `json:"size" required:"true"`
Encryption bool `json:"encryption" `