feat: update parent category detail

This commit is contained in:
efrilm
2026-10-03 00:15:43 +07:00
parent fbe7e97dc7
commit b59b7b4ddd
4 changed files with 20 additions and 0 deletions
+3
View File
@@ -329,6 +329,9 @@ type ParentCategoryAnalyticsDetailSummary struct {
type ParentCategoryAnalyticsDetailData struct {
CategoryID uuid.UUID `json:"category_id"`
CategoryName string `json:"category_name"`
OwnerFeePercent float64 `json:"owner_fee_percent"`
SDL float64 `json:"sdl"`
TopProduct *ParentCategoryTopProduct `json:"top_product"`
TotalRevenue float64 `json:"total_revenue"`
TotalQuantity int64 `json:"total_quantity"`
ProductCount int64 `json:"product_count"`