19 lines
531 B
Go
19 lines
531 B
Go
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"`
|
|
}
|