src/Entity/FactPcieHistoriquePaiement.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FactPcieHistoriquePaiementRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=FactPcieHistoriquePaiementRepository::class)
  7.  */
  8. class FactPcieHistoriquePaiement
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="float")
  18.      */
  19.     private $montant;
  20.     /**
  21.      * @ORM\Column(type="datetime")
  22.      */
  23.     private $createdat;
  24.     /**
  25.      * @ORM\ManyToOne(targetEntity=Typepaiement::class, inversedBy="factPcieHistoriquePaiements")
  26.      * @ORM\JoinColumn(nullable=false)
  27.      */
  28.     private $typePaiement;
  29.     /**
  30.      * @ORM\ManyToOne(targetEntity=FacturePharmacie::class, inversedBy="factPcieHistoriquePaiements")
  31.      * @ORM\JoinColumn(nullable=false)
  32.      */
  33.     private $facture;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getMontant(): ?float
  39.     {
  40.         return $this->montant;
  41.     }
  42.     public function setMontant(float $montant): self
  43.     {
  44.         $this->montant $montant;
  45.         return $this;
  46.     }
  47.     public function getCreatedat(): ?\DateTimeInterface
  48.     {
  49.         return $this->createdat;
  50.     }
  51.     public function setCreatedat(\DateTimeInterface $createdat): self
  52.     {
  53.         $this->createdat $createdat;
  54.         return $this;
  55.     }
  56.     public function getTypePaiement(): ?Typepaiement
  57.     {
  58.         return $this->typePaiement;
  59.     }
  60.     public function setTypePaiement(?Typepaiement $typePaiement): self
  61.     {
  62.         $this->typePaiement $typePaiement;
  63.         return $this;
  64.     }
  65.     public function getFacture(): ?FacturePharmacie
  66.     {
  67.         return $this->facture;
  68.     }
  69.     public function setFacture(?FacturePharmacie $facture): self
  70.     {
  71.         $this->facture $facture;
  72.         return $this;
  73.     }
  74. }