new changes

This commit is contained in:
Suriya
2026-07-01 10:53:57 +05:30
parent 0d42ac84e1
commit f220c24c17
8 changed files with 369 additions and 1 deletions

View File

@@ -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"`
}