package types import "time" type ShelfResponse struct { *Response ShelfLocation *ShelfLocation `json:"shelf"` } type MultipleShelfResponse struct { *Response ShelfLocations []*ShelfLocation `json:"shelves"` Total int `json:"total"` } type ShelfLocation struct { ID uint64 `json:"id"` Name string `json:"name"` RoomNumber string `json:"room_number,omitempty"` Description string `json:"description,omitempty"` BuildingID *uint64 `json:"building_id"` Building *Building `json:"building"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at,omitempty"` } type CreateShelfRequest struct { Name string `json:"name"` RoomNumber string `json:"room_number,omitempty"` Description string `json:"description,omitempty"` BuildingID *uint64 `json:"building_id,omitempty"` }