src/Entity/EUmowaBhpStacjonarna/UmowyTemp.php line 9

  1. <?php
  2. namespace App\Entity\EUmowaBhpStacjonarna;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Entity]
  5. #[ORM\Table(name'umowy_temp')]
  6. class UmowyTemp
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private ?int $id null;
  12.     #[ORM\Column(type'string'length256)]
  13.     private string $token;
  14.     #[ORM\Column(name'data_utworzenia'type'datetime_immutable')]
  15.     private \DateTimeImmutable $dataUtworzenia;
  16.     #[ORM\Column(type'string'length256)]
  17.     private string $email;
  18.     #[ORM\Column(type'string'length256)]
  19.     private string $nazwa;
  20.     #[ORM\Column(type'string'length256)]
  21.     private string $ulica;
  22.     #[ORM\Column(type'string'length256)]
  23.     private string $miasto;
  24.     #[ORM\Column(type'string'length6)]
  25.     private string $kod;
  26.     #[ORM\Column(type'string'length256)]
  27.     private string $nip;
  28.     #[ORM\Column(type'string'length11)]
  29.     private string $regon;
  30.     #[ORM\Column(type'integer'options: ['default' => 0])]
  31.     private int $wczytania 0;
  32.     #[ORM\Column(type'integer'options: ['default' => 0])]
  33.     private int $zaakceptowana 0;
  34.     #[ORM\Column(name'data_akceptacji'type'datetime_immutable'nullabletrue)]
  35.     private ?\DateTimeImmutable $dataAkceptacji null;
  36.     #[ORM\Column(type'text'nullabletrue)]
  37.     private ?string $notatka null;
  38.     #[ORM\Column(name'typ_id'type'integer')]
  39.     private int $typId;
  40.     #[ORM\Column(type'string'length256)]
  41.     private string $oddzial;
  42.     #[ORM\Column(name'nr_zam'type'integer')]
  43.     private int $nrZam;
  44.     #[ORM\Column(name'procent_prowizji'type'integer'options: ['default' => 45])]
  45.     private int $procentProwizji 45;
  46.     #[ORM\Column(name'pakietbhp'type'integer')]
  47.     private int $pakietBhp;
  48.     #[ORM\Column(type'string'length256)]
  49.     private string $wynagrodzenie;
  50.     #[ORM\Column(name'terminplatnosci'type'integer')]
  51.     private int $terminPlatnosci;
  52.     #[ORM\Column(name'automatyczniePrzedluzana'type'integer'options: ['default' => 0])]
  53.     private int $automatyczniePrzedluzana 0;
  54.     #[ORM\Column(name'liczba_miesiecy'type'integer')]
  55.     private int $liczbaMiesiecy;
  56.     #[ORM\Column(name'dodatkowy_produkt'type'string'length256nullabletrue)]
  57.     private ?string $dodatkowyProdukt null;
  58.     public function __construct()
  59.     {
  60.         $this->dataUtworzenia = new \DateTimeImmutable();
  61.     }
  62.     // ---------------- Gettery / Settery ----------------
  63.     public function getId(): ?int { return $this->id; }
  64.     public function getToken(): string { return $this->token; }
  65.     public function setToken(string $token): self $this->token $token; return $this; }
  66.     public function getData_Utworzenia(): \DateTimeImmutable { return $this->dataUtworzenia; }
  67.     public function setDataUtworzenia(\DateTimeImmutable $d): self $this->dataUtworzenia $d; return $this; }
  68.     public function getEmail(): string { return $this->email; }
  69.     public function setEmail(string $email): self $this->email $email; return $this; }
  70.     public function getNazwa(): string { return $this->nazwa; }
  71.     public function setNazwa(string $nazwa): self $this->nazwa $nazwa; return $this; }
  72.     public function getUlica(): string { return $this->ulica; }
  73.     public function setUlica(string $ulica): self $this->ulica $ulica; return $this; }
  74.     public function getMiasto(): string { return $this->miasto; }
  75.     public function setMiasto(string $miasto): self $this->miasto $miasto; return $this; }
  76.     public function getKod(): string { return $this->kod; }
  77.     public function setKod(string $kod): self $this->kod $kod; return $this; }
  78.     public function getNip(): string { return $this->nip; }
  79.     public function setNip(string $nip): self $this->nip $nip; return $this; }
  80.     public function getRegon(): string { return $this->regon; }
  81.     public function setRegon(string $regon): self $this->regon $regon; return $this; }
  82.     public function getWczytania(): int { return $this->wczytania; }
  83.     public function setWczytania(int $wczytania): self $this->wczytania $wczytania; return $this; }
  84.     public function getZaakceptowana(): int { return $this->zaakceptowana; }
  85.     public function setZaakceptowana(int $z): self $this->zaakceptowana $z; return $this; }
  86.     public function getDataAkceptacji(): ?\DateTimeImmutable { return $this->dataAkceptacji; }
  87.     public function setDataAkceptacji(?\DateTimeImmutable $d): self $this->dataAkceptacji $d; return $this; }
  88.     public function getNotatka(): ?string { return $this->notatka; }
  89.     public function setNotatka(?string $n): self $this->notatka $n; return $this; }
  90.     public function getTypId(): int { return $this->typId; }
  91.     public function setTypId(int $t): self $this->typId $t; return $this; }
  92.     public function getOddzial(): string { return $this->oddzial; }
  93.     public function setOddzial(string $oddzial): self $this->oddzial $oddzial; return $this; }
  94.     public function getNrZam(): int { return $this->nrZam; }
  95.     public function setNrZam(int $nrZam): self $this->nrZam $nrZam; return $this; }
  96.     public function getProcentProwizji(): int { return $this->procentProwizji; }
  97.     public function setProcentProwizji(int $p): self $this->procentProwizji $p; return $this; }
  98.     public function getPakietBhp(): int { return $this->pakietBhp; }
  99.     public function setPakietBhp(int $v): self $this->pakietBhp $v; return $this; }
  100.     public function getWynagrodzenie(): string { return $this->wynagrodzenie; }
  101.     public function setWynagrodzenie(string $w): self $this->wynagrodzenie $w; return $this; }
  102.     public function getTerminPlatnosci(): int { return $this->terminPlatnosci; }
  103.     public function setTerminPlatnosci(int $t): self $this->terminPlatnosci $t; return $this; }
  104.     public function getAutomatyczniePrzedluzana(): int { return $this->automatyczniePrzedluzana; }
  105.     public function setAutomatyczniePrzedluzana(int $v): self $this->automatyczniePrzedluzana $v; return $this; }
  106.     public function getLiczba_Miesiecy(): int { return $this->liczbaMiesiecy; }
  107.     public function setLiczbaMiesiecy(int $l): self $this->liczbaMiesiecy $l; return $this; }
  108.     public function getDodatkowy_Produkt(): ?string { return $this->dodatkowyProdukt; }
  109.     public function setDodatkowyProdukt(?string $d): self $this->dodatkowyProdukt $d; return $this; }
  110. }