<?phpnamespace App\Entity;use App\Repository\DemandeDevisLigneRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=DemandeDevisLigneRepository::class) */class DemandeDevisLigne{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=DemandeDevisEntete::class, inversedBy="demandeDevisLignes") */ private $demandeDevisEntete; /** * @ORM\ManyToOne(targetEntity=Formation::class, inversedBy="demandeDevisLignes") */ private $formation; /** * @ORM\Column(type="integer") */ private $qte; /** * @ORM\Column(type="float") */ private $price; /** * @ORM\Column(type="float", nullable=true) */ private $remise; /** * @ORM\Column(type="float") */ private $montantApresRemise; /** * @ORM\Column(type="float") */ private $montantHt; /** * @ORM\Column(type="datetime_immutable", nullable=true) */ private $createdAt; /** * @ORM\ManyToOne(targetEntity=Session::class, inversedBy="demandeDevisLignes") */ private $session; /** * @ORM\Column(type="float", nullable=true) */ private $tva; public function getId(): ?int { return $this->id; } public function getDemandeDevisEntete(): ?DemandeDevisEntete { return $this->demandeDevisEntete; } public function setDemandeDevisEntete(?DemandeDevisEntete $demandeDevisEntete): self { $this->demandeDevisEntete = $demandeDevisEntete; return $this; } public function getFormation(): ?Formation { return $this->formation; } public function setFormation(?Formation $formation): self { $this->formation = $formation; return $this; } public function getQte(): ?int { return $this->qte; } public function setQte(int $qte): self { $this->qte = $qte; return $this; } public function getPrice(): ?float { return $this->price; } public function setPrice(float $price): self { $this->price = $price; return $this; } public function getRemise(): ?float { return $this->remise; } public function setRemise(?float $remise): self { $this->remise = $remise; return $this; } public function getMontantApresRemise(): ?float { return $this->montantApresRemise; } public function setMontantApresRemise(float $montantApresRemise): self { $this->montantApresRemise = $montantApresRemise; return $this; } public function getMontantHt(): ?float { return $this->montantHt; } public function setMontantHt(float $montantHt): self { $this->montantHt = $montantHt; return $this; } public function getCreatedAt(): ?\DateTimeImmutable { return $this->createdAt; } public function setCreatedAt(?\DateTimeImmutable $createdAt): self { $this->createdAt = $createdAt; return $this; } public function getSession(): ?Session { return $this->session; } public function setSession(?Session $session): self { $this->session = $session; return $this; } public function getTva(): ?float { return $this->tva; } public function setTva(?float $tva): self { $this->tva = $tva; return $this; }}