<?phpnamespace App\Entity;use App\Repository\InvoiceLineRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: InvoiceLineRepository::class)]class InvoiceLine{ use IdentifiableTrait; #[ORM\Column] private ?int $productQuantity = null; #[ORM\Column] private ?float $purchasePrice = null; #[ORM\Column] private ?float $priceWithoutTax = null; #[ORM\Column] private ?float $vat = null; #[ORM\ManyToOne(inversedBy: 'invoiceLines')] #[ORM\JoinColumn(nullable: false)] private ?Invoice $invoice = null; #[ORM\ManyToOne(inversedBy: 'invoiceLines')] #[ORM\JoinColumn(nullable: false)] private ?Product $product = null; public function getId(): ?int { return $this->id; } public function getProductQuantity(): ?int { return $this->productQuantity; } public function setProductQuantity(int $productQuantity): self { $this->productQuantity = $productQuantity; return $this; } public function getPurchasePrice(): ?float { return $this->purchasePrice; } public function setPurchasePrice(float $purchasePrice): self { $this->purchasePrice = $purchasePrice; return $this; } public function getPriceWithoutTax(): ?float { return $this->priceWithoutTax; } public function setPriceWithoutTax(float $priceWithoutTax): self { $this->priceWithoutTax = $priceWithoutTax; return $this; } public function getVat(): ?float { return $this->vat; } public function setVat(float $vat): self { $this->vat = $vat; return $this; } public function getInvoice(): ?Invoice { return $this->invoice; } public function setInvoice(?Invoice $invoice): self { $this->invoice = $invoice; return $this; } public function getProduct(): ?Product { return $this->product; } public function setProduct(?Product $product): self { $this->product = $product; return $this; }}