Skip to content

Commit

Permalink
Add missing entities to 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Nov 4, 2024
1 parent acc4cb8 commit 63132aa
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/packages/_sylius.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,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 @@ -72,6 +75,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 @@ -214,6 +220,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
18 changes: 18 additions & 0 deletions src/Entity/Channel/ShopBillingData.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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")
*/
#[ORM\Entity]
#[ORM\Table(name: 'sylius_shop_billing_data')]
class ShopBillingData extends BaseShopBillingData
{
}
18 changes: 18 additions & 0 deletions src/Entity/Shipping/ShippingMethodRule.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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")
*/
#[ORM\Entity]
#[ORM\Table(name: 'sylius_shipping_method_rule')]
class ShippingMethodRule extends BaseShippingMethodRule
{
}
18 changes: 18 additions & 0 deletions src/Entity/User/AvatarImage.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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")
*/
#[ORM\Entity]
#[ORM\Table(name: 'sylius_avatar_image')]
class AvatarImage extends BaseAvatarImage
{
}

0 comments on commit 63132aa

Please sign in to comment.