package catalog import ( "time" ) type GetProductRequestDTO struct { ProductID string `json:"product_id"` } type GetProductResponseDTO struct { ID string `json:"id"` Name string `json:"name"` Slug string `json:"slug"` Price float64 `json:"price"` CreatedAt time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at,omitempty"` } type GetProductListRequestDTO struct { CategoryID string `json:"category_id"` } type GetProductListResponseDTO struct { Products []GetProductResponseDTO `json:"products"` } type AddProductToBasketRequestDTO struct { ProductID string `json:"product_id"` Quantity int `json:"quantity"` } type AddProductToBasketResponseDTO struct { ProductID string `json:"product_id"` BasketID string `json:"basket_id"` } type RemoveProductFromBasketRequestDTO struct { ProductID string `json:"product_id"` Quantity int `json:"quantity"` } type RemoveProductFromBasketResponseDTO struct { ProductID string `json:"product_id"` BasketID string `json:"basket_id"` }