<?phpnamespace App\Entity;use App\Repository\EcheanceParticulierRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=EcheanceParticulierRepository::class) */class EcheanceParticulier{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="float") */ private $montantEcheance; /** * @ORM\Column(type="float") */ private $montantRegle; /** * @ORM\Column(type="float") */ private $resteAregler; /** * @ORM\Column(type="date") */ private $dateEcheance; /** * @ORM\ManyToOne(targetEntity=Tier::class, inversedBy="echeanceParticuliers") */ private $tier; /** * @ORM\ManyToOne(targetEntity=Session::class) */ private $session; /** * @ORM\Column(type="datetime_immutable", nullable=true) */ private $createdat; public function getId(): ?int { return $this->id; } public function getMontantEcheance(): ?float { return $this->montantEcheance; } public function setMontantEcheance(float $montantEcheance): self { $this->montantEcheance = $montantEcheance; return $this; } public function getMontantRegle(): ?float { return $this->montantRegle; } public function setMontantRegle(float $montantRegle): self { $this->montantRegle = $montantRegle; return $this; } public function getResteAregler(): ?float { return $this->resteAregler; } public function setResteAregler(float $resteAregler): self { $this->resteAregler = $resteAregler; return $this; } public function getDateEcheance(): ?\DateTimeInterface { return $this->dateEcheance; } public function setDateEcheance(\DateTimeInterface $dateEcheance): self { $this->dateEcheance = $dateEcheance; return $this; } public function getTier(): ?Tier { return $this->tier; } public function setTier(?Tier $tier): self { $this->tier = $tier; return $this; } public function getSession(): ?Session { return $this->session; } public function setSession(?Session $session): self { $this->session = $session; return $this; } public function getCreatedat(): ?\DateTimeImmutable { return $this->createdat; } public function setCreatedat(?\DateTimeImmutable $createdat): self { $this->createdat = $createdat; return $this; }}