Compare commits

..

1 Commits

Author SHA1 Message Date
c3d15cb1a1 Updated catalog DTOs 2025-10-23 18:32:45 +02:00

View File

@@ -9,12 +9,12 @@ type GetProductRequestDTO struct {
} }
type GetProductResponseDTO struct { type GetProductResponseDTO struct {
ID string `json:"id"` ID string `json:"id"`
Name string `json:"name"` Name string `json:"name"`
Slug string `json:"slug"` Slug string `json:"slug"`
Price float64 `json:"price"` Price float64 `json:"price"`
CreatedAt time.Time `json:"created_at"` CreatedAt time.Duration `json:"created_at"`
UpdatedAt time.Time `json:"updated_at,omitempty"` UpdatedAt time.Duration `json:"updated_at,omitempty"`
} }
type GetProductListRequestDTO struct { type GetProductListRequestDTO struct {