<?php
namespace App\Entity;
use App\Repository\LigneFacturePrintRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=LigneFacturePrintRepository::class)
*/
class LigneFacturePrint
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=EnteteFacture::class, inversedBy="ligneFacturePrints")
*/
private $enteteFacture;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $qte;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $codeformation;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $wordingformation;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $periode;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $prixunitaire;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $remise;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $prixunitairenet;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $tva;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $montantttc;
/**
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private $createdAt;
/**
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private $updatedAt;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $montantht;
/**
* @ORM\ManyToOne(targetEntity=ReglementEntreprise::class, inversedBy="ligneFacturePrints")
*/
private $reglementNegatif;
public function __construct()
{
$this->createdAt = $this->updatedAt = new \DateTimeImmutable();
}
public function getId(): ?int
{
return $this->id;
}
public function getEnteteFacture(): ?EnteteFacture
{
return $this->enteteFacture;
}
public function setEnteteFacture(?EnteteFacture $enteteFacture): self
{
$this->enteteFacture = $enteteFacture;
return $this;
}
public function getQte(): ?int
{
return $this->qte;
}
public function setQte(?int $qte): self
{
$this->qte = $qte;
return $this;
}
public function getCodeformation(): ?string
{
return $this->codeformation;
}
public function setCodeformation(?string $codeformation): self
{
$this->codeformation = $codeformation;
return $this;
}
public function getWordingformation(): ?string
{
return $this->wordingformation;
}
public function setWordingformation(?string $wordingformation): self
{
$this->wordingformation = $wordingformation;
return $this;
}
public function getPeriode(): ?string
{
return $this->periode;
}
public function setPeriode(?string $periode): self
{
$this->periode = $periode;
return $this;
}
public function getPrixunitaire(): ?float
{
return $this->prixunitaire;
}
public function setPrixunitaire(?float $prixunitaire): self
{
$this->prixunitaire = $prixunitaire;
return $this;
}
public function getRemise(): ?float
{
return $this->remise;
}
public function setRemise(?float $remise): self
{
$this->remise = $remise;
return $this;
}
public function getPrixunitairenet(): ?float
{
return $this->prixunitairenet;
}
public function setPrixunitairenet(?float $prixunitairenet): self
{
$this->prixunitairenet = $prixunitairenet;
return $this;
}
public function getTva(): ?float
{
return $this->tva;
}
public function setTva(?float $tva): self
{
$this->tva = $tva;
return $this;
}
public function getMontantttc(): ?float
{
return $this->montantttc;
}
public function setMontantttc(?float $montantttc): self
{
$this->montantttc = $montantttc;
return $this;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->createdAt;
}
public function setCreatedAt(?\DateTimeImmutable $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function getUpdatedAt(): ?\DateTimeImmutable
{
return $this->updatedAt;
}
public function setUpdatedAt(?\DateTimeImmutable $updatedAt): self
{
$this->updatedAt = $updatedAt;
return $this;
}
public function getMontantht(): ?float
{
return $this->montantht;
}
public function setMontantht(?float $montantht): self
{
$this->montantht = $montantht;
return $this;
}
public function getReglementNegatif(): ?ReglementEntreprise
{
return $this->reglementNegatif;
}
public function setReglementNegatif(?ReglementEntreprise $reglementNegatif): self
{
$this->reglementNegatif = $reglementNegatif;
return $this;
}
}