<?php
declare(strict_types=1);
namespace App\User\Domain\Model;
use Ramsey\Uuid\Uuid;
use Ramsey\Uuid\UuidInterface;
use Sylius\Component\Core\Model\ShopUser as BaseShopUser;
class ShopUser extends BaseShopUser
{
private UuidInterface $uuid;
public function __construct()
{
parent::__construct();
$this->uuid = Uuid::uuid4();
}
public function getUuid() : UuidInterface
{
return $this->uuid;
}
}