src/Entity/LocataireConjoint.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\LocataireConjointRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassLocataireConjointRepository::class)]
  6. class LocataireConjoint
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $nom null;
  14.     #[ORM\Column(length255)]
  15.     private ?string $prenom null;
  16.     #[ORM\Column]
  17.     private ?int $age null;
  18.     #[ORM\Column(length255)]
  19.     private ?string $email null;
  20.     #[ORM\Column(length255)]
  21.     private ?string $metier null;
  22.     #[ORM\Column]
  23.     private ?string $numeroFixe null;
  24.     #[ORM\Column]
  25.     private ?string $numeroMobile null;
  26.     public function getId(): ?int
  27.     {
  28.         return $this->id;
  29.     }
  30.     public function getNom(): ?string
  31.     {
  32.         return $this->nom;
  33.     }
  34.     public function setNom(string $nom): self
  35.     {
  36.         $this->nom $nom;
  37.         return $this;
  38.     }
  39.     public function getPrenom(): ?string
  40.     {
  41.         return $this->prenom;
  42.     }
  43.     public function setPrenom(string $prenom): self
  44.     {
  45.         $this->prenom $prenom;
  46.         return $this;
  47.     }
  48.     public function getAge(): ?int
  49.     {
  50.         return $this->age;
  51.     }
  52.     public function setAge(int $age): self
  53.     {
  54.         $this->age $age;
  55.         return $this;
  56.     }
  57.     public function getEmail(): ?string
  58.     {
  59.         return $this->email;
  60.     }
  61.     public function setEmail(string $email): self
  62.     {
  63.         $this->email $email;
  64.         return $this;
  65.     }
  66.     public function getMetier(): ?string
  67.     {
  68.         return $this->metier;
  69.     }
  70.     public function setMetier(string $metier): self
  71.     {
  72.         $this->metier $metier;
  73.         return $this;
  74.     }
  75.     public function getNumeroFixe(): ?string
  76.     {
  77.         return $this->numeroFixe;
  78.     }
  79.     public function setNumeroFixe(string $numeroFixe): self
  80.     {
  81.         $this->numeroFixe $numeroFixe;
  82.         return $this;
  83.     }
  84.     public function getNumeroMobile(): ?string
  85.     {
  86.         return $this->numeroMobile;
  87.     }
  88.     public function setNumeroMobile(string $numeroMobile): self
  89.     {
  90.         $this->numeroMobile $numeroMobile;
  91.         return $this;
  92.     }
  93. }