added tmpAvatar

This commit is contained in:
tracer 2022-11-15 17:13:03 +01:00
parent a64fa311a0
commit 995f47a888
1 changed files with 15 additions and 0 deletions

View File

@ -64,6 +64,9 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
#[ORM\Column]
private ?DateTimeImmutable $agreedTermsAt = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $tmpAvatar = null;
public function __construct()
{
$this->projects = new ArrayCollection();
@ -315,4 +318,16 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
{
// TODO: Implement eraseCredentials() method.
}
public function getTmpAvatar(): ?string
{
return $this->tmpAvatar;
}
public function setTmpAvatar(?string $tmpAvatar): self
{
$this->tmpAvatar = $tmpAvatar;
return $this;
}
}