feat: add container management functionality
This commit is contained in:
18
internal/models/container_model.go
Normal file
18
internal/models/container_model.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Container struct {
|
||||
ID int64 `json:"id"`
|
||||
ShelfID int64 `json:"shelfId"`
|
||||
Name string `json:"name"`
|
||||
ContainerType string `json:"containerType"`
|
||||
Description string `json:"description"`
|
||||
MaxCapacity int32 `json:"maxCapacity"`
|
||||
Metadata json.RawMessage `json:"metadata"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user