src/Entity/EcheanceParticulier.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EcheanceParticulierRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=EcheanceParticulierRepository::class)
  7.  */
  8. class EcheanceParticulier
  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 $montantEcheance;
  20.     /**
  21.      * @ORM\Column(type="float")
  22.      */
  23.     private $montantRegle;
  24.     /**
  25.      * @ORM\Column(type="float")
  26.      */
  27.     private $resteAregler;
  28.     /**
  29.      * @ORM\Column(type="date")
  30.      */
  31.     private $dateEcheance;
  32.     /**
  33.      * @ORM\ManyToOne(targetEntity=Tier::class, inversedBy="echeanceParticuliers")
  34.      */
  35.     private $tier;
  36.     /**
  37.      * @ORM\ManyToOne(targetEntity=Session::class)
  38.      */
  39.     private $session;
  40.     /**
  41.      * @ORM\Column(type="datetime_immutable", nullable=true)
  42.      */
  43.     private $createdat;
  44.     public function getId(): ?int
  45.     {
  46.         return $this->id;
  47.     }
  48.     public function getMontantEcheance(): ?float
  49.     {
  50.         return $this->montantEcheance;
  51.     }
  52.     public function setMontantEcheance(float $montantEcheance): self
  53.     {
  54.         $this->montantEcheance $montantEcheance;
  55.         return $this;
  56.     }
  57.     public function getMontantRegle(): ?float
  58.     {
  59.         return $this->montantRegle;
  60.     }
  61.     public function setMontantRegle(float $montantRegle): self
  62.     {
  63.         $this->montantRegle $montantRegle;
  64.         return $this;
  65.     }
  66.     public function getResteAregler(): ?float
  67.     {
  68.         return $this->resteAregler;
  69.     }
  70.     public function setResteAregler(float $resteAregler): self
  71.     {
  72.         $this->resteAregler $resteAregler;
  73.         return $this;
  74.     }
  75.     public function getDateEcheance(): ?\DateTimeInterface
  76.     {
  77.         return $this->dateEcheance;
  78.     }
  79.     public function setDateEcheance(\DateTimeInterface $dateEcheance): self
  80.     {
  81.         $this->dateEcheance $dateEcheance;
  82.         return $this;
  83.     }
  84.     public function getTier(): ?Tier
  85.     {
  86.         return $this->tier;
  87.     }
  88.     public function setTier(?Tier $tier): self
  89.     {
  90.         $this->tier $tier;
  91.         return $this;
  92.     }
  93.     public function getSession(): ?Session
  94.     {
  95.         return $this->session;
  96.     }
  97.     public function setSession(?Session $session): self
  98.     {
  99.         $this->session $session;
  100.         return $this;
  101.     }
  102.     public function getCreatedat(): ?\DateTimeImmutable
  103.     {
  104.         return $this->createdat;
  105.     }
  106.     public function setCreatedat(?\DateTimeImmutable $createdat): self
  107.     {
  108.         $this->createdat $createdat;
  109.         return $this;
  110.     }
  111. }