Merge pull request 'history-order-list' (#3) from history-order-list into main
Reviewed-on: https://git.altru.id/Furtuna/furtuna-backend/pulls/3
This commit is contained in:
@@ -21,6 +21,10 @@ type Order struct {
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type OrderAmount struct {
|
||||
Amount float64 `json:"amount"`
|
||||
}
|
||||
|
||||
type HistoryOrder struct {
|
||||
ID int64 `json:"id"`
|
||||
Employee string `json:"employee"`
|
||||
@@ -58,6 +62,10 @@ type HistoryOrderList struct {
|
||||
Offset int `json:"offset"`
|
||||
}
|
||||
|
||||
type TicketSold struct {
|
||||
Count int64 `json:"count"`
|
||||
}
|
||||
|
||||
type OrderMonthlyRevenue struct {
|
||||
TotalRevenue float64 `json:"total_revenue"`
|
||||
TotalTransaction int64 `json:"total_transaction"`
|
||||
|
||||
@@ -24,6 +24,10 @@ type SiteName struct {
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type SiteCount struct {
|
||||
Count int `json:"count"`
|
||||
}
|
||||
|
||||
type SiteList struct {
|
||||
Sites []Site `json:"sites"`
|
||||
Total int64 `json:"total"`
|
||||
|
||||
Reference in New Issue
Block a user