feat(category): update list filter category

This commit is contained in:
Efril
2026-08-06 21:21:41 +07:00
parent b9ac97178f
commit a7c2d6cbb3
5 changed files with 34 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@ type ListCategoriesRequest struct {
OrganizationID *uuid.UUID `json:"organization_id,omitempty"`
OutletID *uuid.UUID `json:"outlet_id,omitempty"`
ParentID *uuid.UUID `json:"parent_id,omitempty"`
Type string `json:"type,omitempty" validate:"omitempty,oneof=parent child"`
BusinessType string `json:"business_type,omitempty"`
Search string `json:"search,omitempty"`
Page int `json:"page" validate:"required,min=1"`