src/Entity/Demandeformations.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FormationsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassFormationsRepository::class)]
  6. #[ORM\Table(name"demandeformations")]
  7. class Demandeformations
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id;
  13.    #[ORM\Column(length200)]
  14.     private ?string $nom;
  15.     #[ORM\Column]
  16.     private ?string $prenoms;
  17.     #[ORM\Column]
  18.     private ?string $fonction;
  19.     
  20.     #[ORM\Column]
  21.     private ?string $mail;
  22.     
  23.     #[ORM\Column]
  24.     private ?string $entreprise;
  25.     
  26.     #[ORM\Column]
  27.     private ?string $siteweb;
  28.     
  29.     #[ORM\Column]
  30.     private ?string $nombrepart;
  31.     
  32.     #[ORM\Column]
  33.     private ?string $lieu;
  34.     
  35.     #[ORM\Column]
  36.     private ?string $theme;
  37.     
  38.     #[ORM\Column]
  39.     private ?string $duree;
  40.     
  41.     #[ORM\Column]
  42.     private ?string $telephone;
  43.     
  44.     #[ORM\Column]
  45.     private ?string $adresse;
  46.     
  47.     #[ORM\Column]
  48.     private ?string $commentaire;
  49.     #[ORM\Column]
  50.     private ?\DateTimeImmutable $created_at null;
  51.     #[ORM\Column]
  52.     private ?\DateTimeImmutable $updated_at null;
  53.     public function __construct(){
  54.         $this->created_at = new \DateTimeImmutable();
  55.         $this->updated_at = new \DateTimeImmutable();
  56.     }
  57.     public function getId(): ?int {return $this->id;}
  58.     
  59.     public function getNom(): string{return $this->nom;}
  60.     public function setNom(string $nom): static{$this->nom $nom;return $this;}
  61.     
  62.     public function getPrenoms(): string{return $this->prenoms;}
  63.     public function setPrenoms(string $prenoms): static{$this->prenoms $prenoms;return $this;}
  64.     
  65.     public function getFonction(): string{return $this->fonction;}
  66.     public function setFonction(string $fonction): static{$this->fonction $fonction;return $this;}
  67.     
  68.     public function getTelephone(): string{return $this->telephone;}
  69.     public function setTelephone(string $telephone): static{$this->telephone $telephone;return $this;}        
  70.         
  71.     public function getMail(): string{return $this->mail;}
  72.     public function setMail(string $mail): static{$this->mail $mail;return $this;}    
  73.     
  74.     public function getEntreprise(): string{return $this->entreprise;}
  75.     public function setEntreprise(string $entreprise): static{$this->entreprise $entreprise;return $this;}   
  76.     
  77.     public function getSiteweb(): string{return $this->siteweb;}
  78.     public function setSiteweb(string $siteweb): static{$this->siteweb $siteweb;return $this;}    
  79.     
  80.     public function getNombrepart(): string{return $this->nombrepart;}
  81.     public function setNombrepart(string $nombrepart): static{$this->nombrepart $nombrepart;return $this;}    
  82.     
  83.     public function getLieu(): string{return $this->lieu;}
  84.     public function setLieu(string $lieu): static{$this->lieu $lieu;return $this;}   
  85.     
  86.     public function getDuree(): string{return $this->duree;}
  87.     public function setDuree(string $duree): static{$this->duree $duree;return $this;}  
  88.     
  89.     public function getTheme(): string{return $this->theme;}
  90.     public function setTheme(string $theme): static{$this->theme $theme;return $this;}   
  91.     
  92.     public function getAdresse(): string{return $this->adresse;}
  93.     public function setAdresse(string $adresse): static{$this->adresse $adresse;return $this;}  
  94.     
  95.     public function getCommentaire(): string{return $this->commentaire;}
  96.     public function setCommentaire(string $commentaire): static{$this->commentaire $commentaire;return $this;}  
  97.         
  98.     
  99.     public function getCreatedAt(): ?\DateTimeImmutable{return $this->created_at;}
  100.     public function setCreatedAt(\DateTimeImmutable $created_at): static {$this->created_at $created_at; return $this;}
  101.     
  102.     public function getUpdatedAt(): ?\DateTimeImmutable{return $this->updated_at;}
  103.     public function UpdatedAt(\DateTimeImmutable $updated_at): static{$this->updated_at $updated_at;return $this;}
  104. }