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
@@ -178,3 +178,9 @@ func (e *TicketSoldDB) ToTicketSold() *TicketSold {
Count: e.Count,
}
}
type ProductDailySales struct {
Day time.Time
ProductID int64
TotalQuantity int
}