<?phpnamespace App\Entity;use App\Repository\InscriptionsRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;#[ORM\Entity(repositoryClass: InscriptionsRepository::class)]class Inscriptions{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id; #[ORM\Column(length: 200)] private ?string $nom; #[ORM\Column] private ?string $prenoms; #[ORM\Column] private ?string $fonction; #[ORM\Column] private ?string $telephone; #[ORM\Column] private ?string $mail; #[ORM\Column] private ?string $entreprise; #[ORM\Column] private ?string $siteweb = null; #[ORM\Column] private ?string $nbparticipant; #[ORM\Column] private ?string $pays; #[ORM\Column] private ?string $ville; #[ORM\Column] private ?string $boitepostale = null; #[ORM\Column] private ?string $whatsapp; #[ORM\Column] private ?string $adresse; #[ORM\Column] private ?string $commentaire; #[ORM\ManyToOne(targetEntity: Formations::class)] #[ORM\JoinColumn(name: 'formationsid', referencedColumnName: 'id', nullable: false)] private ?Formations $formation = null; #[ORM\Column] private ?\DateTimeImmutable $created_at = null; #[ORM\Column] private ?\DateTimeImmutable $updated_at = null; public function __construct(){ $this->created_at = new \DateTimeImmutable(); $this->updated_at = new \DateTimeImmutable(); } public function getId(): ?int {return $this->id;} public function getNom(): string{return $this->nom;} public function setNom(string $nom): static{$this->nom = $nom;return $this;} public function getPrenoms(): string{return $this->prenoms;} public function setPrenoms(string $prenoms): static{$this->prenoms = $prenoms;return $this;} public function getFonction(): string{return $this->fonction;} public function setFonction(string $fonction): static{$this->fonction = $fonction;return $this;} public function getTelephone(): string{return $this->telephone;} public function setTelephone(string $telephone): static{$this->telephone = $telephone;return $this;} public function getMail(): string{return $this->mail;} public function setMail(string $mail): static{$this->mail = $mail;return $this;} public function getEntreprise(): string{return $this->entreprise;} public function setEntreprise(string $entreprise): static{$this->entreprise = $entreprise;return $this;} public function getSiteweb(): string{return $this->siteweb;} public function setSiteweb(string $siteweb): static{$this->siteweb = $siteweb;return $this;} public function getNbparticipant(): string{return $this->nbparticipant;} public function setNbparticipant(string $nbparticipant): static{$this->nbparticipant = $nbparticipant;return $this;} public function getPays(): string{return $this->pays;} public function setPays(string $pays): static{$this->pays = $pays;return $this;} public function getVille(): string{return $this->ville;} public function setVille(string $ville): static{$this->ville = $ville;return $this;} public function getBoitepostale(): string{return $this->boitepostale;} public function setBoitepostale(string $boitepostale): static{$this->boitepostale = $boitepostale;return $this;} public function getWhatsapp(): string{return $this->whatsapp;} public function setWhatsapp(string $whatsapp): static{$this->whatsapp = $whatsapp;return $this;} public function getAdresse(): string{return $this->adresse;} public function setAdresse(string $adresse): static{$this->adresse = $adresse;return $this;} public function getCommentaire(): string{return $this->commentaire;} public function setCommentaire(string $commentaire): static{$this->commentaire = $commentaire;return $this;} public function getFormation(): ?Formations{return $this->formation;} public function setFormation(Formations $formation): self{$this->formation = $formation;return $this;} public function getCreatedAt(): ?\DateTimeImmutable{return $this->created_at;} public function setCreatedAt(\DateTimeImmutable $created_at): static {$this->created_at = $created_at; return $this;} public function getUpdatedAt(): ?\DateTimeImmutable{return $this->updated_at;} public function UpdatedAt(\DateTimeImmutable $updated_at): static{$this->updated_at = $updated_at;return $this;}}