src/Entity/Societe.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SocieteRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassSocieteRepository::class)]
  7. class Societe
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $forme null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $adressesiege null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $villercs null;
  19.     #[ORM\Column]
  20.     private ?int $numerorcs null;
  21.     #[ORM\Column(length255)]
  22.     private ?string $qualite null;
  23.     #[ORM\ManyToOne(inversedBy'societes')]
  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(length255)]
  31.     private ?string $situtationdubien null;
  32.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  33.     private ?\DateTimeInterface $datestart null;
  34.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  35.     private ?\DateTimeInterface $dateend null;
  36.     #[ORM\Column(length255)]
  37.     private ?string $representant null;
  38.     public function getId(): ?int
  39.     {
  40.         return $this->id;
  41.     }
  42.     public function getForme(): ?string
  43.     {
  44.         return $this->forme;
  45.     }
  46.     public function setForme(string $forme): self
  47.     {
  48.         $this->forme $forme;
  49.         return $this;
  50.     }
  51.     public function getAdressesiege(): ?string
  52.     {
  53.         return $this->adressesiege;
  54.     }
  55.     public function setAdressesiege(string $adressesiege): self
  56.     {
  57.         $this->adressesiege $adressesiege;
  58.         return $this;
  59.     }
  60.     public function getVillercs(): ?string
  61.     {
  62.         return $this->villercs;
  63.     }
  64.     public function setVillercs(string $villercs): self
  65.     {
  66.         $this->villercs $villercs;
  67.         return $this;
  68.     }
  69.     public function getNumerorcs(): ?int
  70.     {
  71.         return $this->numerorcs;
  72.     }
  73.     public function setNumerorcs(int $numerorcs): self
  74.     {
  75.         $this->numerorcs $numerorcs;
  76.         return $this;
  77.     }
  78.     public function getQualite(): ?string
  79.     {
  80.         return $this->qualite;
  81.     }
  82.     public function setQualite(string $qualite): self
  83.     {
  84.         $this->qualite $qualite;
  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 getSitutationdubien(): ?string
  115.     {
  116.         return $this->situtationdubien;
  117.     }
  118.     public function setSitutationdubien(string $situtationdubien): self
  119.     {
  120.         $this->situtationdubien $situtationdubien;
  121.         return $this;
  122.     }
  123.     public function getDatestart(): ?\DateTimeInterface
  124.     {
  125.         return $this->datestart;
  126.     }
  127.     public function setDatestart(\DateTimeInterface $datestart): self
  128.     {
  129.         $this->datestart $datestart;
  130.         return $this;
  131.     }
  132.     public function getDateend(): ?\DateTimeInterface
  133.     {
  134.         return $this->dateend;
  135.     }
  136.     public function setDateend(\DateTimeInterface $dateend): self
  137.     {
  138.         $this->dateend $dateend;
  139.         return $this;
  140.     }
  141.     public function getRepresentant(): ?string
  142.     {
  143.         return $this->representant;
  144.     }
  145.     public function setRepresentant(string $representant): self
  146.     {
  147.         $this->representant $representant;
  148.         return $this;
  149.     }
  150. }