<?php
declare(strict_types=1);
namespace App\Entity\User;
use Doctrine\ORM\Mapping as ORM;
use Sylius\Component\Core\Model\ShopUser as BaseShopUser;
/**
* @ORM\Entity
* @ORM\Table(name="sylius_shop_user")
*/
class ShopUser extends BaseShopUser
{
/**
* @var string $authToken
* @ORM\GeneratedValue()
* @ORM\Column(type="string", name="auth_token", length=255, nullable=true)
*/
private $authToken;
public function getAuthToken(): ?string
{
return $this->authToken;
}
public function setAuthToken(string $authToken): self
{
$this->authToken = $authToken;
return $this;
}
}