<?phpnamespace App\Entity;use App\Repository\FormationsRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: FormationsRepository::class)]#[ORM\Table(name: "demandeformations")]class Demandeformations{ #[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 $mail; #[ORM\Column] private ?string $entreprise; #[ORM\Column] private ?string $siteweb; #[ORM\Column] private ?string $nombrepart; #[ORM\Column] private ?string $lieu; #[ORM\Column] private ?string $theme; #[ORM\Column] private ?string $duree; #[ORM\Column] private ?string $telephone; #[ORM\Column] private ?string $adresse; #[ORM\Column] private ?string $commentaire; #[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 getNombrepart(): string{return $this->nombrepart;} public function setNombrepart(string $nombrepart): static{$this->nombrepart = $nombrepart;return $this;} public function getLieu(): string{return $this->lieu;} public function setLieu(string $lieu): static{$this->lieu = $lieu;return $this;} public function getDuree(): string{return $this->duree;} public function setDuree(string $duree): static{$this->duree = $duree;return $this;} public function getTheme(): string{return $this->theme;} public function setTheme(string $theme): static{$this->theme = $theme;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 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;}}