src/Entity/DevisActivite.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DevisActiviteRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassDevisActiviteRepository::class)]
  6. class DevisActivite
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\ManyToOne(inversedBy'devisActivites')]
  13.     private ?SocSociete $societe null;
  14.     #[ORM\ManyToOne(inversedBy'devisActivites')]
  15.     private ?DevisSection $section null;
  16.     #[ORM\ManyToOne(inversedBy'devisActivites')]
  17.     private ?DevisSousSection $sousSection null;
  18.     #[ORM\Column(nullabletrue)]
  19.     private ?bool $reponse null;
  20.     #[ORM\Column(nullabletrue)]
  21.     private ?bool $statut null;
  22.     #[ORM\Column]
  23.     private ?\DateTimeImmutable $createdAt null;
  24.     #[ORM\Column]
  25.     private ?\DateTimeImmutable $updatedAt null;
  26.     #[ORM\ManyToOne(inversedBy'devisActivites')]
  27.     private ?Devis $devis null;
  28.     public function getId(): ?int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function getSociete(): ?SocSociete
  33.     {
  34.         return $this->societe;
  35.     }
  36.     public function setSociete(?SocSociete $societe): static
  37.     {
  38.         $this->societe $societe;
  39.         return $this;
  40.     }
  41.     public function getSection(): ?DevisSection
  42.     {
  43.         return $this->section;
  44.     }
  45.     public function setSection(?DevisSection $section): static
  46.     {
  47.         $this->section $section;
  48.         return $this;
  49.     }
  50.     public function getSousSection(): ?DevisSousSection
  51.     {
  52.         return $this->sousSection;
  53.     }
  54.     public function setSousSection(?DevisSousSection $sousSection): static
  55.     {
  56.         $this->sousSection $sousSection;
  57.         return $this;
  58.     }
  59.     public function isReponse(): ?bool
  60.     {
  61.         return $this->reponse;
  62.     }
  63.     public function setReponse(?bool $reponse): static
  64.     {
  65.         $this->reponse $reponse;
  66.         return $this;
  67.     }
  68.     public function isStatut(): ?bool
  69.     {
  70.         return $this->statut;
  71.     }
  72.     public function setStatut(?bool $statut): static
  73.     {
  74.         $this->statut $statut;
  75.         return $this;
  76.     }
  77.     public function getCreatedAt(): ?\DateTimeImmutable
  78.     {
  79.         return $this->createdAt;
  80.     }
  81.     public function setCreatedAt(\DateTimeImmutable $createdAt): static
  82.     {
  83.         $this->createdAt $createdAt;
  84.         return $this;
  85.     }
  86.     public function getUpdatedAt(): ?\DateTimeImmutable
  87.     {
  88.         return $this->updatedAt;
  89.     }
  90.     public function setUpdatedAt(\DateTimeImmutable $updatedAt): static
  91.     {
  92.         $this->updatedAt $updatedAt;
  93.         return $this;
  94.     }
  95.     public function getDevis(): ?Devis
  96.     {
  97.         return $this->devis;
  98.     }
  99.     public function setDevis(?Devis $devis): static
  100.     {
  101.         $this->devis $devis;
  102.         return $this;
  103.     }
  104. }