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
@@ -544,6 +544,9 @@ func ParentCategoryAnalyticsDetailModelToContract(resp *models.ParentCategoryAna
categories = append(categories, contract.ParentCategoryAnalyticsDetailData{
CategoryID: category.CategoryID,
CategoryName: category.CategoryName,
OwnerFeePercent: category.OwnerFeePercent,
SDL: category.SDL,
TopProduct: parentCategoryTopProductModelToContract(category.TopProduct),
TotalRevenue: category.TotalRevenue,
TotalQuantity: category.TotalQuantity,
ProductCount: category.ProductCount,