This commit is contained in:
marvin
2024-11-19 10:16:50 +01:00
parent 9719ea9d1e
commit 3abf0ff6c1
3 changed files with 12 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ class Participant
private ?string $nom = null;
#[ORM\Column(length: 255)]
private ?string $prénom = null;
private ?string $prenom = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $telephone = null;
@@ -74,14 +74,14 @@ class Participant
return $this;
}
public function getPrénom(): ?string
public function getPrenom(): ?string
{
return $this->prénom;
return $this->prenom;
}
public function setPrénom(string $prénom): self
public function setPrenom(string $prenom): self
{
$this->prénom = $prénom;
$this->prenom = $prenom;
return $this;
}

View File

@@ -34,7 +34,7 @@ class Site
public function __construct()
{
$this->idSite = Uuid::v4(); // Génération automatique de l'UUID
$this->idSite = Uuid::v4();
$this->sorties = new ArrayCollection();
$this->participants = new ArrayCollection();
}

View File

@@ -23,7 +23,7 @@ class Sortie
private ?\DateTimeInterface $dateHeureDebut = null;
#[ORM\Column(nullable: true)]
private ?int $durée = null;
private ?int $duree = null;
#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]
private ?\DateTimeInterface $dateLimiteInscription = null;
@@ -52,7 +52,7 @@ class Sortie
public function __construct()
{
$this->idSortie = Uuid::v4(); // Génération automatique d'un UUID
$this->idSortie = Uuid::v4();
}
public function getIdSortie(): ?Uuid
@@ -84,14 +84,14 @@ class Sortie
return $this;
}
public function getDurée(): ?int
public function getDuree(): ?int
{
return $this->durée;
return $this->duree;
}
public function setDurée(?int $durée): self
public function setDuree(?int $duree): self
{
$this->durée = $durée;
$this->duree = $duree;
return $this;
}