src/Entity/PersonnePhysique.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PersonnePhysiqueRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassPersonnePhysiqueRepository::class)]
  7. class PersonnePhysique
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $adresseperso null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $villedenaissance null;
  17.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  18.     private ?\DateTimeInterface $datedenaissance null;
  19.     #[ORM\Column(length255)]
  20.     private ?string $regimematrimonial null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $regimemariage null;
  23.     #[ORM\ManyToOne(inversedBy'personnePhysiques')]
  24.     #[ORM\JoinColumn(nullablefalse)]
  25.     private ?Bailleur $bailleurid null;
  26.     #[ORM\Column(length255)]
  27.     private ?string $adressecomplete null;
  28.     #[ORM\Column]
  29.     private ?int $etage null;
  30.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  31.     private ?\DateTimeInterface $datestart null;
  32.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  33.     private ?\DateTimeInterface $dateend null;
  34.     #[ORM\Column(length255)]
  35.     private ?string $situtationdubien null;
  36.     #[ORM\Column(length255)]
  37.     private ?string $genre null;
  38.     public function getId(): ?int
  39.     {
  40.         return $this->id;
  41.     }
  42.     public function getAdresseperso(): ?string
  43.     {
  44.         return $this->adresseperso;
  45.     }
  46.     public function setAdresseperso(string $adresseperso): self
  47.     {
  48.         $this->adresseperso $adresseperso;
  49.         return $this;
  50.     }
  51.     public function getVilledenaissance(): ?string
  52.     {
  53.         return $this->villedenaissance;
  54.     }
  55.     public function setVilledenaissance(string $villedenaissance): self
  56.     {
  57.         $this->villedenaissance $villedenaissance;
  58.         return $this;
  59.     }
  60.     public function getDatedenaissance(): ?\DateTimeInterface
  61.     {
  62.         return $this->datedenaissance;
  63.     }
  64.     public function setDatedenaissance(\DateTimeInterface $datedenaissance): self
  65.     {
  66.         $this->datedenaissance $datedenaissance;
  67.         return $this;
  68.     }
  69.     public function getRegimematrimonial(): ?string
  70.     {
  71.         return $this->regimematrimonial;
  72.     }
  73.     public function setRegimematrimonial(string $regimematrimonial): self
  74.     {
  75.         $this->regimematrimonial $regimematrimonial;
  76.         return $this;
  77.     }
  78.     public function getRegimemariage(): ?string
  79.     {
  80.         return $this->regimemariage;
  81.     }
  82.     public function setRegimemariage(?string $regimemariage): self
  83.     {
  84.         $this->regimemariage $regimemariage;
  85.         return $this;
  86.     }
  87.     public function getBailleurid(): ?Bailleur
  88.     {
  89.         return $this->bailleurid;
  90.     }
  91.     public function setBailleurid(?Bailleur $bailleurid): self
  92.     {
  93.         $this->bailleurid $bailleurid;
  94.         return $this;
  95.     }
  96.     public function getAdressecomplete(): ?string
  97.     {
  98.         return $this->adressecomplete;
  99.     }
  100.     public function setAdressecomplete(string $adressecomplete): self
  101.     {
  102.         $this->adressecomplete $adressecomplete;
  103.         return $this;
  104.     }
  105.     public function getEtage(): ?int
  106.     {
  107.         return $this->etage;
  108.     }
  109.     public function setEtage(int $etage): self
  110.     {
  111.         $this->etage $etage;
  112.         return $this;
  113.     }
  114.     public function getDatestart(): ?\DateTimeInterface
  115.     {
  116.         return $this->datestart;
  117.     }
  118.     public function setDatestart(\DateTimeInterface $datestart): self
  119.     {
  120.         $this->datestart $datestart;
  121.         return $this;
  122.     }
  123.     public function getDateend(): ?\DateTimeInterface
  124.     {
  125.         return $this->dateend;
  126.     }
  127.     public function setDateend(\DateTimeInterface $dateend): self
  128.     {
  129.         $this->dateend $dateend;
  130.         return $this;
  131.     }
  132.     public function getSitutationdubien(): ?string
  133.     {
  134.         return $this->situtationdubien;
  135.     }
  136.     public function setSitutationdubien(string $situtationdubien): self
  137.     {
  138.         $this->situtationdubien $situtationdubien;
  139.         return $this;
  140.     }
  141.     public function getGenre(): ?string
  142.     {
  143.         return $this->genre;
  144.     }
  145.     public function setGenre(string $genre): self
  146.     {
  147.         $this->genre $genre;
  148.         return $this;
  149.     }
  150. }