user gestion fully done

This commit is contained in:
Olivier PARPAILLON
2024-11-20 14:49:34 +01:00
parent 6b25c1852b
commit fbdd46ca1f
10 changed files with 134 additions and 40 deletions

View File

@@ -41,6 +41,9 @@ class Participant implements UserInterface, PasswordAuthenticatedUserInterface
#[ORM\Column]
private ?bool $actif = null;
#[ORM\Column]
private ?bool $pending = null;
#[ORM\Column]
private array $roles = [];
@@ -82,6 +85,16 @@ class Participant implements UserInterface, PasswordAuthenticatedUserInterface
return $this;
}
public function getPending(): ?bool
{
return $this->pending;
}
public function setPending(?bool $pending): void
{
$this->pending = $pending;
}
public function getPseudo(): ?string
{
return $this->pseudo;