From 995f47a8883415223299964e5eae3dd236780134 Mon Sep 17 00:00:00 2001 From: tracer Date: Tue, 15 Nov 2022 17:13:03 +0100 Subject: [PATCH] added tmpAvatar --- src/Entity/User.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Entity/User.php b/src/Entity/User.php index 8540453..1b11469 100644 --- a/src/Entity/User.php +++ b/src/Entity/User.php @@ -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; + } }