update product analytic

This commit is contained in:
efrilm
2025-10-07 00:02:15 +07:00
parent f55ea1ceb0
commit 27a2535dde
6 changed files with 7 additions and 1 deletions
+1
View File
@@ -33,6 +33,7 @@ type ProductAnalytics struct {
ProductName string `json:"product_name"`
CategoryID uuid.UUID `json:"category_id"`
CategoryName string `json:"category_name"`
CategoryOrder int `json:"category_order"`
QuantitySold int64 `json:"quantity_sold"`
Revenue float64 `json:"revenue"`
AveragePrice float64 `json:"average_price"`