src/Entity/HistoriquePaiement.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\HistoriquePaiementRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=HistoriquePaiementRepository::class)
  7.  */
  8. class HistoriquePaiement
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=User::class, inversedBy="historiquePaiements")
  18.      */
  19.     private $user;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity=Order::class, inversedBy="historiquePaiements")
  22.      */
  23.     private $my_order;
  24.     /**
  25.      * @ORM\Column(type="float", nullable=true)
  26.      */
  27.     private $motant_paye;
  28.     /**
  29.      * @ORM\Column(type="datetime", nullable=true)
  30.      */
  31.     private $date_paiement;
  32.     /**
  33.      * @ORM\ManyToOne(targetEntity=Typepaiement::class, inversedBy="historiquePaiements")
  34.      */
  35.     private $typepaiement;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $pj;
  40.     /**
  41.      * @ORM\Column(type="boolean", nullable=true)
  42.      */
  43.     private $isValid;
  44.     /**
  45.      * @ORM\ManyToOne(targetEntity=Forecast::class, inversedBy="historiquePaiements")
  46.      */
  47.     private $forecast;
  48.     public function getId(): ?int
  49.     {
  50.         return $this->id;
  51.     }
  52.     public function getUser(): ?User
  53.     {
  54.         return $this->user;
  55.     }
  56.     public function setUser(?User $user): self
  57.     {
  58.         $this->user $user;
  59.         return $this;
  60.     }
  61.     public function getMyOrder(): ?Order
  62.     {
  63.         return $this->my_order;
  64.     }
  65.     public function setMyOrder(?Order $my_order): self
  66.     {
  67.         $this->my_order $my_order;
  68.         return $this;
  69.     }
  70.     public function getMotantPaye(): ?float
  71.     {
  72.         return $this->motant_paye;
  73.     }
  74.     public function setMotantPaye(?float $motant_paye): self
  75.     {
  76.         $this->motant_paye $motant_paye;
  77.         return $this;
  78.     }
  79.     public function getDatePaiement(): ?\DateTimeInterface
  80.     {
  81.         return $this->date_paiement;
  82.     }
  83.     public function setDatePaiement(?\DateTimeInterface $date_paiement): self
  84.     {
  85.         $this->date_paiement $date_paiement;
  86.         return $this;
  87.     }
  88.     public function getTypepaiement(): ?Typepaiement
  89.     {
  90.         return $this->typepaiement;
  91.     }
  92.     public function setTypepaiement(?Typepaiement $typepaiement): self
  93.     {
  94.         $this->typepaiement $typepaiement;
  95.         return $this;
  96.     }
  97.     public function getPj(): ?string
  98.     {
  99.         return $this->pj;
  100.     }
  101.     public function setPj(?string $pj): self
  102.     {
  103.         $this->pj $pj;
  104.         return $this;
  105.     }
  106.     public function isIsValid(): ?bool
  107.     {
  108.         return $this->isValid;
  109.     }
  110.     public function setIsValid(?bool $isValid): self
  111.     {
  112.         $this->isValid $isValid;
  113.         return $this;
  114.     }
  115.     public function getForecast(): ?Forecast
  116.     {
  117.         return $this->forecast;
  118.     }
  119.     public function setForecast(?Forecast $forecast): self
  120.     {
  121.         $this->forecast $forecast;
  122.         return $this;
  123.     }
  124. }