src/Entity/LigneFacture.php line 13

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