<?phpnamespace App\Entity;use App\Repository\DevisActiviteRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: DevisActiviteRepository::class)]class DevisActivite{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'devisActivites')] private ?SocSociete $societe = null; #[ORM\ManyToOne(inversedBy: 'devisActivites')] private ?DevisSection $section = null; #[ORM\ManyToOne(inversedBy: 'devisActivites')] private ?DevisSousSection $sousSection = null; #[ORM\Column(nullable: true)] private ?bool $reponse = null; #[ORM\Column(nullable: true)] private ?bool $statut = null; #[ORM\Column] private ?\DateTimeImmutable $createdAt = null; #[ORM\Column] private ?\DateTimeImmutable $updatedAt = null; #[ORM\ManyToOne(inversedBy: 'devisActivites')] private ?Devis $devis = null; public function getId(): ?int { return $this->id; } public function getSociete(): ?SocSociete { return $this->societe; } public function setSociete(?SocSociete $societe): static { $this->societe = $societe; return $this; } public function getSection(): ?DevisSection { return $this->section; } public function setSection(?DevisSection $section): static { $this->section = $section; return $this; } public function getSousSection(): ?DevisSousSection { return $this->sousSection; } public function setSousSection(?DevisSousSection $sousSection): static { $this->sousSection = $sousSection; return $this; } public function isReponse(): ?bool { return $this->reponse; } public function setReponse(?bool $reponse): static { $this->reponse = $reponse; return $this; } public function isStatut(): ?bool { return $this->statut; } public function setStatut(?bool $statut): static { $this->statut = $statut; return $this; } public function getCreatedAt(): ?\DateTimeImmutable { return $this->createdAt; } public function setCreatedAt(\DateTimeImmutable $createdAt): static { $this->createdAt = $createdAt; return $this; } public function getUpdatedAt(): ?\DateTimeImmutable { return $this->updatedAt; } public function setUpdatedAt(\DateTimeImmutable $updatedAt): static { $this->updatedAt = $updatedAt; return $this; } public function getDevis(): ?Devis { return $this->devis; } public function setDevis(?Devis $devis): static { $this->devis = $devis; return $this; }}