Use uniqid for wishes and users

This commit is contained in:
Jannis Portmann 2022-01-17 21:25:31 +01:00
parent ee063cd439
commit 946b30b486
10 changed files with 77 additions and 9 deletions

View file

@ -65,6 +65,11 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
*/
private $zipCode;
/**
* @ORM\Column(type="string", length=13)
*/
private $urlId;
public function __construct()
{
$this->offerings = new ArrayCollection();
@ -255,4 +260,16 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
return $this;
}
public function getUrlId(): ?string
{
return $this->urlId;
}
public function setUrlId(string $urlId): self
{
$this->urlId = $urlId;
return $this;
}
}