new changes
This commit is contained in:
@@ -438,3 +438,17 @@ type Ordersequences struct {
|
||||
Receiptprefix string `json:"receiptprefix" gorm:"default:REC"`
|
||||
Paymentprefix string `json:"paymentprefix" gorm:"default:PAY"`
|
||||
}
|
||||
|
||||
type TenantRevenueSummary struct {
|
||||
Tenantid int `json:"tenantid"`
|
||||
Tenantname string `json:"tenantname"`
|
||||
OverallRevenue float64 `json:"overallrevenue"`
|
||||
LocationRevenue []LocationRevenueDetails `json:"locationrevenue"`
|
||||
}
|
||||
|
||||
type LocationRevenueDetails struct {
|
||||
Locationid int `json:"locationid"`
|
||||
Locationname string `json:"locationname"`
|
||||
Revenue float64 `json:"revenue"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user