Add Daily sales

This commit is contained in:
aditya.siregar
2024-08-02 02:27:57 +07:00
parent d50cefbc7f
commit 4e4d9d3a90
7 changed files with 90 additions and 0 deletions
+6
View File
@@ -111,3 +111,9 @@ type CreateOrderItemResponse struct {
Price float64 `json:"price"`
Name string `json:"name"`
}
type ProductDailySales struct {
Day time.Time
ProductID int64
TotalQuantity int
}