src/Entity/LigneFacturePrint.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\LigneFacturePrintRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=LigneFacturePrintRepository::class)
  7.  */
  8. class LigneFacturePrint
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=EnteteFacture::class, inversedBy="ligneFacturePrints")
  18.      */
  19.     private $enteteFacture;
  20.     /**
  21.      * @ORM\Column(type="integer", nullable=true)
  22.      */
  23.     private $qte;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $codeformation;
  28.     /**
  29.      * @ORM\Column(type="string", length=255, nullable=true)
  30.      */
  31.     private $wordingformation;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */
  35.     private $periode;
  36.     /**
  37.      * @ORM\Column(type="float", nullable=true)
  38.      */
  39.     private $prixunitaire;
  40.     /**
  41.      * @ORM\Column(type="float", nullable=true)
  42.      */
  43.     private $remise;
  44.     /**
  45.      * @ORM\Column(type="float", nullable=true)
  46.      */
  47.     private $prixunitairenet;
  48.     /**
  49.      * @ORM\Column(type="float", nullable=true)
  50.      */
  51.     private $tva;
  52.     /**
  53.      * @ORM\Column(type="float", nullable=true)
  54.      */
  55.     private $montantttc;
  56.     /**
  57.      * @ORM\Column(type="datetime_immutable", nullable=true)
  58.      */
  59.     private $createdAt;
  60.     /**
  61.      * @ORM\Column(type="datetime_immutable", nullable=true)
  62.      */
  63.     private $updatedAt;
  64.     /**
  65.      * @ORM\Column(type="float", nullable=true)
  66.      */
  67.     private $montantht;
  68.     /**
  69.      * @ORM\ManyToOne(targetEntity=ReglementEntreprise::class, inversedBy="ligneFacturePrints")
  70.      */
  71.     private $reglementNegatif;
  72.     public function __construct()
  73.     {
  74.         $this->createdAt $this->updatedAt = new \DateTimeImmutable();
  75.     }
  76.     public function getId(): ?int
  77.     {
  78.         return $this->id;
  79.     }
  80.     public function getEnteteFacture(): ?EnteteFacture
  81.     {
  82.         return $this->enteteFacture;
  83.     }
  84.     public function setEnteteFacture(?EnteteFacture $enteteFacture): self
  85.     {
  86.         $this->enteteFacture $enteteFacture;
  87.         return $this;
  88.     }
  89.     public function getQte(): ?int
  90.     {
  91.         return $this->qte;
  92.     }
  93.     public function setQte(?int $qte): self
  94.     {
  95.         $this->qte $qte;
  96.         return $this;
  97.     }
  98.     public function getCodeformation(): ?string
  99.     {
  100.         return $this->codeformation;
  101.     }
  102.     public function setCodeformation(?string $codeformation): self
  103.     {
  104.         $this->codeformation $codeformation;
  105.         return $this;
  106.     }
  107.     public function getWordingformation(): ?string
  108.     {
  109.         return $this->wordingformation;
  110.     }
  111.     public function setWordingformation(?string $wordingformation): self
  112.     {
  113.         $this->wordingformation $wordingformation;
  114.         return $this;
  115.     }
  116.     public function getPeriode(): ?string
  117.     {
  118.         return $this->periode;
  119.     }
  120.     public function setPeriode(?string $periode): self
  121.     {
  122.         $this->periode $periode;
  123.         return $this;
  124.     }
  125.     public function getPrixunitaire(): ?float
  126.     {
  127.         return $this->prixunitaire;
  128.     }
  129.     public function setPrixunitaire(?float $prixunitaire): self
  130.     {
  131.         $this->prixunitaire $prixunitaire;
  132.         return $this;
  133.     }
  134.     public function getRemise(): ?float
  135.     {
  136.         return $this->remise;
  137.     }
  138.     public function setRemise(?float $remise): self
  139.     {
  140.         $this->remise $remise;
  141.         return $this;
  142.     }
  143.     public function getPrixunitairenet(): ?float
  144.     {
  145.         return $this->prixunitairenet;
  146.     }
  147.     public function setPrixunitairenet(?float $prixunitairenet): self
  148.     {
  149.         $this->prixunitairenet $prixunitairenet;
  150.         return $this;
  151.     }
  152.     public function getTva(): ?float
  153.     {
  154.         return $this->tva;
  155.     }
  156.     public function setTva(?float $tva): self
  157.     {
  158.         $this->tva $tva;
  159.         return $this;
  160.     }
  161.     public function getMontantttc(): ?float
  162.     {
  163.         return $this->montantttc;
  164.     }
  165.     public function setMontantttc(?float $montantttc): self
  166.     {
  167.         $this->montantttc $montantttc;
  168.         return $this;
  169.     }
  170.     public function getCreatedAt(): ?\DateTimeImmutable
  171.     {
  172.         return $this->createdAt;
  173.     }
  174.     public function setCreatedAt(?\DateTimeImmutable $createdAt): self
  175.     {
  176.         $this->createdAt $createdAt;
  177.         return $this;
  178.     }
  179.     public function getUpdatedAt(): ?\DateTimeImmutable
  180.     {
  181.         return $this->updatedAt;
  182.     }
  183.     public function setUpdatedAt(?\DateTimeImmutable $updatedAt): self
  184.     {
  185.         $this->updatedAt $updatedAt;
  186.         return $this;
  187.     }
  188.     public function getMontantht(): ?float
  189.     {
  190.         return $this->montantht;
  191.     }
  192.     public function setMontantht(?float $montantht): self
  193.     {
  194.         $this->montantht $montantht;
  195.         return $this;
  196.     }
  197.     public function getReglementNegatif(): ?ReglementEntreprise
  198.     {
  199.         return $this->reglementNegatif;
  200.     }
  201.     public function setReglementNegatif(?ReglementEntreprise $reglementNegatif): self
  202.     {
  203.         $this->reglementNegatif $reglementNegatif;
  204.         return $this;
  205.     }
  206. }