Feat(BE-339):Fixing dto reporting per supplier, and adjust limit

This commit is contained in:
ragilap
2025-12-18 16:41:56 +07:00
parent f5c80fa560
commit cb076d92ac
@@ -30,7 +30,7 @@ type MarketingQuery struct {
type PurchaseSupplierQuery struct { type PurchaseSupplierQuery struct {
Page int `query:"page" validate:"omitempty,min=1,gt=0"` Page int `query:"page" validate:"omitempty,min=1,gt=0"`
Limit int `query:"limit" validate:"omitempty,min=1,max=100,gt=0"` Limit int `query:"limit" validate:"omitempty,min=1,gt=0"`
AreaId int64 `query:"area_id" validate:"omitempty"` AreaId int64 `query:"area_id" validate:"omitempty"`
SupplierId int64 `query:"supplier_id" validate:"omitempty"` SupplierId int64 `query:"supplier_id" validate:"omitempty"`
ProductId int64 `query:"product_id" validate:"omitempty"` ProductId int64 `query:"product_id" validate:"omitempty"`