src/Entity/EUmowaLicencyjneWebAmlNieruchomosci/Raty.php line 9

  1. <?php
  2. namespace App\Entity\EUmowaLicencyjneWebAmlNieruchomosci;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Entity]
  5. #[ORM\Table(name'raty')]
  6. class Raty
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(name'id_raty'type'integer')]
  11.     private ?int $id null;
  12.     #[ORM\Column(name'token_umowy'type'string'length256)]
  13.     private string $tokenUmowy;
  14.     #[ORM\Column(name'nr_raty'type'integer')]
  15.     private int $nrRaty;
  16.     #[ORM\Column(name'kwota_netto'type'float')]
  17.     private float $kwotaNetto;
  18.     #[ORM\Column(name'data_platnosci'type'integer')]
  19.     private int $dataPlatnosci;
  20.     // --------- Gettery / Settery ---------
  21.     public function getId(): ?int
  22.     {
  23.         return $this->id;
  24.     }
  25.     public function getTokenUmowy(): string
  26.     {
  27.         return $this->tokenUmowy;
  28.     }
  29.     public function setTokenUmowy(string $tokenUmowy): self
  30.     {
  31.         $this->tokenUmowy $tokenUmowy;
  32.         return $this;
  33.     }
  34.     public function getNr_Raty(): int
  35.     {
  36.         return $this->nrRaty;
  37.     }
  38.     public function setNrRaty(int $nrRaty): self
  39.     {
  40.         $this->nrRaty $nrRaty;
  41.         return $this;
  42.     }
  43.     public function getKwota_Netto(): float
  44.     {
  45.         return $this->kwotaNetto;
  46.     }
  47.     public function setKwotaNetto(float $kwotaNetto): self
  48.     {
  49.         $this->kwotaNetto $kwotaNetto;
  50.         return $this;
  51.     }
  52.     public function getData_Platnosci(): int
  53.     {
  54.         return $this->dataPlatnosci;
  55.     }
  56.     public function setDataPlatnosci(int $dataPlatnosci): self
  57.     {
  58.         $this->dataPlatnosci $dataPlatnosci;
  59.         return $this;
  60.     }
  61. }