From 095425acf23ef13ce8e84d6a389a9f25071ad220 Mon Sep 17 00:00:00 2001 From: Grzegorz Sadowski Date: Wed, 30 Oct 2024 15:40:40 +0100 Subject: [PATCH] Add missing entities --- config/packages/_sylius.yaml | 22 +++++++++++++++++-- src/Entity/Channel/ShopBillingData.php | 14 ++++++++++++ src/Entity/Payment/PaymentRequest.php | 14 ++++++++++++ src/Entity/Promotion/CatalogPromotion.php | 5 +++++ .../Promotion/CatalogPromotionTranslation.php | 14 ++++++++++++ src/Entity/Promotion/Promotion.php | 5 +++++ src/Entity/Promotion/PromotionTranslation.php | 14 ++++++++++++ src/Entity/Shipping/ShippingMethodRule.php | 14 ++++++++++++ src/Entity/User/AvatarImage.php | 14 ++++++++++++ 9 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 src/Entity/Channel/ShopBillingData.php create mode 100644 src/Entity/Payment/PaymentRequest.php create mode 100644 src/Entity/Promotion/CatalogPromotionTranslation.php create mode 100644 src/Entity/Promotion/PromotionTranslation.php create mode 100644 src/Entity/Shipping/ShippingMethodRule.php create mode 100644 src/Entity/User/AvatarImage.php diff --git a/config/packages/_sylius.yaml b/config/packages/_sylius.yaml index 66ed44c81c..0ca2590d4f 100644 --- a/config/packages/_sylius.yaml +++ b/config/packages/_sylius.yaml @@ -1,9 +1,9 @@ imports: - { resource: "@SyliusCoreBundle/Resources/config/app/config.yml" } + - { resource: "@SyliusPayumBundle/Resources/config/app/config.yaml" } - { resource: "@SyliusAdminBundle/Resources/config/app/config.yml" } - - { resource: "@SyliusApiBundle/Resources/config/app/config.yaml" } - { resource: "@SyliusShopBundle/Resources/config/app/config.yml" } - - { resource: "@SyliusPayumBundle/Resources/config/app/config.yaml" } + - { resource: "@SyliusApiBundle/Resources/config/app/config.yaml" } - { resource: "../parameters.yaml" } @@ -52,6 +52,9 @@ sylius_channel: model: App\Entity\Channel\Channel sylius_core: resources: + avatar_image: + classes: + model: App\Entity\User\AvatarImage product_image: classes: model: App\Entity\Product\ProductImage @@ -70,6 +73,9 @@ sylius_core: channel_pricing_log_entry: classes: model: App\Entity\Channel\ChannelPricingLogEntry + shop_billing_data: + classes: + model: App\Entity\Channel\ShopBillingData sylius_currency: resources: @@ -124,6 +130,9 @@ sylius_payment: payment: classes: model: App\Entity\Payment\Payment + payment_request: + classes: + model: App\Entity\Payment\PaymentRequest gateway_config: classes: model: App\Entity\Payment\GatewayConfig @@ -174,6 +183,9 @@ sylius_promotion: catalog_promotion: classes: model: App\Entity\Promotion\CatalogPromotion + translation: + classes: + model: App\Entity\Promotion\CatalogPromotionTranslation catalog_promotion_action: classes: model: App\Entity\Promotion\CatalogPromotionAction @@ -183,6 +195,9 @@ sylius_promotion: promotion: classes: model: App\Entity\Promotion\Promotion + translation: + classes: + model: App\Entity\Promotion\PromotionTranslation promotion_rule: classes: model: App\Entity\Promotion\PromotionRule @@ -211,6 +226,9 @@ sylius_shipping: translation: classes: model: App\Entity\Shipping\ShippingMethodTranslation + shipping_method_rule: + classes: + model: App\Entity\Shipping\ShippingMethodRule shipping_category: classes: model: App\Entity\Shipping\ShippingCategory diff --git a/src/Entity/Channel/ShopBillingData.php b/src/Entity/Channel/ShopBillingData.php new file mode 100644 index 0000000000..cce1ef94a4 --- /dev/null +++ b/src/Entity/Channel/ShopBillingData.php @@ -0,0 +1,14 @@ +