Skip to content

Commit

Permalink
Add missing entities to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Nov 10, 2024
1 parent 55f4a85 commit 1952e2a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/packages/_sylius.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,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 @@ -66,6 +69,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
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/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 1952e2a

Please sign in to comment.