Skip to content

Commit

Permalink
Add missing entities
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Oct 30, 2024
1 parent 73bdb02 commit f8f59ce
Show file tree
Hide file tree
Showing 7 changed files with 104 additions and 2 deletions.
22 changes: 20 additions & 2 deletions config/packages/_sylius.yaml
Original file line number Diff line number Diff line change
@@ -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" }

Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
14 changes: 14 additions & 0 deletions src/Entity/Channel/ShopBillingData.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

declare(strict_types=1);

namespace App\Entity\Channel;

use Doctrine\ORM\Mapping as ORM;
use Sylius\Component\Core\Model\ShopBillingData as BaseShopBillingData;

#[ORM\Entity]
#[ORM\Table(name: 'sylius_shop_billing_data')]
class ShopBillingData extends BaseShopBillingData
{
}
14 changes: 14 additions & 0 deletions src/Entity/Payment/PaymentRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

declare(strict_types=1);

namespace App\Entity\Payment;

use Doctrine\ORM\Mapping as ORM;
use Sylius\Component\Payment\Model\PaymentRequest as BasePaymentRequest;

#[ORM\Entity]
#[ORM\Table(name: 'sylius_payment_request')]
class PaymentRequest extends BasePaymentRequest
{
}
14 changes: 14 additions & 0 deletions src/Entity/Promotion/CatalogPromotionTranslation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

declare(strict_types=1);

namespace App\Entity\Promotion;

use Doctrine\ORM\Mapping as ORM;
use Sylius\Component\Promotion\Model\CatalogPromotionTranslation as BaseCatalogPromotionTranslation;

#[ORM\Entity]
#[ORM\Table(name: 'sylius_catalog_promotion_translation')]
class CatalogPromotionTranslation extends BaseCatalogPromotionTranslation
{
}
14 changes: 14 additions & 0 deletions src/Entity/Promotion/PromotionTranslation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

declare(strict_types=1);

namespace App\Entity\Promotion;

use Doctrine\ORM\Mapping as ORM;
use Sylius\Component\Promotion\Model\PromotionTranslation as BasePromotionTranslation;

#[ORM\Entity]
#[ORM\Table(name: 'sylius_promotion_translation')]
class PromotionTranslation extends BasePromotionTranslation
{
}
14 changes: 14 additions & 0 deletions src/Entity/Shipping/ShippingMethodRule.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

declare(strict_types=1);

namespace App\Entity\Shipping;

use Doctrine\ORM\Mapping as ORM;
use Sylius\Component\Shipping\Model\ShippingMethodRule as BaseShippingMethodRule;

#[ORM\Entity]
#[ORM\Table(name: 'sylius_shipping_method_rule')]
class ShippingMethodRule extends BaseShippingMethodRule
{
}
14 changes: 14 additions & 0 deletions src/Entity/User/AvatarImage.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

declare(strict_types=1);

namespace App\Entity\User;

use Doctrine\ORM\Mapping as ORM;
use Sylius\Component\Core\Model\AvatarImage as BaseAvatarImage;

#[ORM\Entity]
#[ORM\Table(name: 'sylius_avatar_image')]
class AvatarImage extends BaseAvatarImage
{
}

0 comments on commit f8f59ce

Please sign in to comment.