fileUploader + edit profile

This commit is contained in:
Olivier PARPAILLON
2024-11-20 10:53:29 +01:00
parent caa78c634b
commit 7091bd4094
10 changed files with 259 additions and 30 deletions

View File

@@ -47,6 +47,9 @@ class Participant implements UserInterface, PasswordAuthenticatedUserInterface
#[ORM\Column]
private ?string $password = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $fileName = null;
#[ORM\ManyToOne(targetEntity: Site::class, inversedBy: 'participants')]
#[ORM\JoinColumn(name: 'site_id', referencedColumnName: 'id_site', nullable: true)]
private ?Site $site = null;
@@ -249,4 +252,14 @@ class Participant implements UserInterface, PasswordAuthenticatedUserInterface
return $this;
}
public function getFileName(): ?string
{
return $this->fileName;
}
public function setFileName(?string $fileName): void
{
$this->fileName = $fileName;
}
}