diff --git a/README.md b/README.md index 11091485..c6367753 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,8 @@ use Sylius\Component\Product\Model\ProductAttribute as BaseProductAttribute; * @ORM\Entity * @ORM\Table(name="sylius_product_attribute") */ +#[ORM\Entity] +#[ORM\Table(name: 'sylius_product_attribute')] -class ProductAttribute extends BaseProductAttribute +class ProductAttribute extends BaseProductAttribute implements SearchableInterface { diff --git a/dist/src/Entity/Product/ProductAttribute.php b/dist/src/Entity/Product/ProductAttribute.php index eaff27e7..1377d7cb 100644 --- a/dist/src/Entity/Product/ProductAttribute.php +++ b/dist/src/Entity/Product/ProductAttribute.php @@ -23,6 +23,8 @@ * @ORM\Entity * @ORM\Table(name="sylius_product_attribute") */ +#[ORM\Entity] +#[ORM\Table(name: 'sylius_product_attribute')] class ProductAttribute extends BaseProductAttribute implements SearchableInterface { use SearchableTrait; diff --git a/dist/src/Entity/Product/ProductOption.php b/dist/src/Entity/Product/ProductOption.php index 2adc02e8..67d53a57 100644 --- a/dist/src/Entity/Product/ProductOption.php +++ b/dist/src/Entity/Product/ProductOption.php @@ -23,6 +23,8 @@ * @ORM\Entity * @ORM\Table(name="sylius_product_option") */ +#[ORM\Entity] +#[ORM\Table(name: 'sylius_product_option')] class ProductOption extends BaseProductOption implements SearchableInterface { use SearchableTrait;