From a2bac7dcd013ba2608004c8d8876d74228c1e86b Mon Sep 17 00:00:00 2001 From: Kirill Sukhorukov Date: Fri, 28 Jun 2024 13:42:00 +0300 Subject: [PATCH] Support for ProductGroup level in filter and response --- src/Model/Entity/Store/ProductGroup.php | 8 ++++++++ .../Filter/Store/ProductGroupFilterType.php | 16 ++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/src/Model/Entity/Store/ProductGroup.php b/src/Model/Entity/Store/ProductGroup.php index c150374..bb985c4 100644 --- a/src/Model/Entity/Store/ProductGroup.php +++ b/src/Model/Entity/Store/ProductGroup.php @@ -66,4 +66,12 @@ class ProductGroup * @JMS\SerializedName("active") */ public $active; + + /** + * @var int + * + * @JMS\Type("int") + * @JMS\SerializedName("lvl") + */ + public $lvl; } diff --git a/src/Model/Filter/Store/ProductGroupFilterType.php b/src/Model/Filter/Store/ProductGroupFilterType.php index eaf5284..53bcdee 100644 --- a/src/Model/Filter/Store/ProductGroupFilterType.php +++ b/src/Model/Filter/Store/ProductGroupFilterType.php @@ -58,4 +58,20 @@ class ProductGroupFilterType * @Form\SerializedName("catalogs") */ public $catalogs; + + /** + * @var int + * + * @Form\Type("int") + * @Form\SerializedName("minLevel") + */ + public $minLevel; + + /** + * @var int + * + * @Form\Type("int") + * @Form\SerializedName("maxLevel") + */ + public $maxLevel; }