Add Daily sales
This commit is contained in:
@@ -178,3 +178,9 @@ func (e *TicketSoldDB) ToTicketSold() *TicketSold {
|
||||
Count: e.Count,
|
||||
}
|
||||
}
|
||||
|
||||
type ProductDailySales struct {
|
||||
Day time.Time
|
||||
ProductID int64
|
||||
TotalQuantity int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user