src/Entity/EUmowaBhpStacjonarna/Zaklady.php line 9

  1. <?php
  2. namespace App\Entity\EUmowaBhpStacjonarna;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Entity]
  5. #[ORM\Table(name'zaklady')]
  6. class Zaklady
  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(type'string'length256)]
  15.     private string $nazwa;
  16.     #[ORM\Column(type'string'length256)]
  17.     private string $adres;
  18.     // --------- Gettery / Settery ---------
  19.     public function getId(): ?int
  20.     {
  21.         return $this->id;
  22.     }
  23.     public function getTokenUmowy(): string
  24.     {
  25.         return $this->tokenUmowy;
  26.     }
  27.     public function setTokenUmowy(string $tokenUmowy): self
  28.     {
  29.         $this->tokenUmowy $tokenUmowy;
  30.         return $this;
  31.     }
  32.     public function getNazwa(): string
  33.     {
  34.         return $this->nazwa;
  35.     }
  36.     public function setNazwa(string $nazwa): self
  37.     {
  38.         $this->nazwa $nazwa;
  39.         return $this;
  40.     }
  41.     public function getAdres(): string
  42.     {
  43.         return $this->adres;
  44.     }
  45.     public function setAdres(string $adres): self
  46.     {
  47.         $this->adres $adres;
  48.         return $this;
  49.     }
  50. }