src/Entity/EUmowaBhpStacjonarna/Umowy.php line 9
<?phpnamespace App\Entity\EUmowaBhpStacjonarna;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity]#[ORM\Table(name: 'umowy')]class Umowy{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column(type: 'integer')]private ?int $id = null;#[ORM\Column(type: 'string', length: 256)]private string $token;#[ORM\Column(name: 'data_utworzenia', type: 'datetime_immutable')]private \DateTimeImmutable $data_utworzenia;#[ORM\Column(type: 'string', length: 256)]private string $email;#[ORM\Column(name: 'nr_umowy', type: 'string', length: 256)]private string $nrUmowy;#[ORM\Column(type: 'string', length: 256)]private string $nazwa;#[ORM\Column(type: 'string', length: 256)]private string $ulica;#[ORM\Column(type: 'string', length: 256)]private string $miasto;#[ORM\Column(type: 'string', length: 6)]private string $kod;#[ORM\Column(type: 'string', length: 256)]private string $nip;#[ORM\Column(type: 'string', length: 11)]private string $regon;#[ORM\Column(type: 'string', length: 256, nullable: true)]private ?string $notatka = null;#[ORM\Column(type: 'integer', options: ['default' => 0])]private int $wczytania = 0;#[ORM\Column(name: 'data_akceptacji', type: 'datetime_immutable', nullable: true)]private ?\DateTimeImmutable $dataAkceptacji = null;#[ORM\Column(type: 'integer', options: ['default' => 1])]private int $oddzial = 1;#[ORM\Column(name: 'typ_id', type: 'integer')]private int $typId;#[ORM\Column(name: 'nr_zam', type: 'integer')]private int $nrZam;#[ORM\Column(name: 'pakietbhp', type: 'integer')]private int $pakietBhp;#[ORM\Column(type: 'string', length: 256)]private string $wynagrodzenie;#[ORM\Column(name: 'terminplatnosci', type: 'integer')]private int $terminPlatnosci;#[ORM\Column(name: 'automatyczniePrzedluzana', type: 'integer', options: ['default' => 0])]private int $automatyczniePrzedluzana = 0;#[ORM\Column(name: 'liczba_miesiecy', type: 'integer')]private int $liczbaMiesiecy;#[ORM\Column(name: 'dodatkowy_produkt', type: 'string', length: 256)]private string $dodatkowyProdukt;public function __construct(){$this->data_utworzenia = new \DateTimeImmutable();}// ---------------- Gettery / Settery ----------------public function getId(): ?int { return $this->id; }public function getToken(): string { return $this->token; }public function setToken(string $token): self { $this->token = $token; return $this; }public function getData_Utworzenia(): \DateTimeImmutable { return $this->data_utworzenia; }public function setData_Utworzenia(\DateTimeImmutable $d): self { $this->data_utworzenia = $d; return $this; }public function getEmail(): string { return $this->email; }public function setEmail(string $email): self { $this->email = $email; return $this; }public function getNrUmowy(): string { return $this->nrUmowy; }public function setNrUmowy(string $nrUmowy): self { $this->nrUmowy = $nrUmowy; return $this; }public function getNazwa(): string { return $this->nazwa; }public function setNazwa(string $nazwa): self { $this->nazwa = $nazwa; return $this; }public function getUlica(): string { return $this->ulica; }public function setUlica(string $ulica): self { $this->ulica = $ulica; return $this; }public function getMiasto(): string { return $this->miasto; }public function setMiasto(string $miasto): self { $this->miasto = $miasto; return $this; }public function getKod(): string { return $this->kod; }public function setKod(string $kod): self { $this->kod = $kod; return $this; }public function getNip(): string { return $this->nip; }public function setNip(string $nip): self { $this->nip = $nip; return $this; }public function getRegon(): string { return $this->regon; }public function setRegon(string $regon): self { $this->regon = $regon; return $this; }public function getNotatka(): ?string { return $this->notatka; }public function setNotatka(?string $notatka): self { $this->notatka = $notatka; return $this; }public function getWczytania(): int { return $this->wczytania; }public function setWczytania(int $wczytania): self { $this->wczytania = $wczytania; return $this; }public function getDataAkceptacji(): ?\DateTimeImmutable { return $this->dataAkceptacji; }public function setDataAkceptacji(?\DateTimeImmutable $d): self { $this->dataAkceptacji = $d; return $this; }public function getOddzial(): int { return $this->oddzial; }public function setOddzial(int $oddzial): self { $this->oddzial = $oddzial; return $this; }public function getTypId(): int { return $this->typId; }public function setTypId(int $typId): self { $this->typId = $typId; return $this; }public function getNrZam(): int { return $this->nrZam; }public function setNrZam(int $nrZam): self { $this->nrZam = $nrZam; return $this; }public function getPakietBhp(): int { return $this->pakietBhp; }public function setPakietBhp(int $pakietBhp): self { $this->pakietBhp = $pakietBhp; return $this; }public function getWynagrodzenie(): string { return $this->wynagrodzenie; }public function setWynagrodzenie(string $wynagrodzenie): self { $this->wynagrodzenie = $wynagrodzenie; return $this; }public function getTerminPlatnosci(): int { return $this->terminPlatnosci; }public function setTerminPlatnosci(int $terminPlatnosci): self { $this->terminPlatnosci = $terminPlatnosci; return $this; }public function getAutomatyczniePrzedluzana(): int { return $this->automatyczniePrzedluzana; }public function setAutomatyczniePrzedluzana(int $v): self { $this->automatyczniePrzedluzana = $v; return $this; }public function getLiczba_Miesiecy(): int { return $this->liczbaMiesiecy; }public function setLiczbaMiesiecy(int $liczba): self { $this->liczbaMiesiecy = $liczba; return $this; }public function getDodatkowy_Produkt(): string { return $this->dodatkowyProdukt; }public function setDodatkowyProdukt(string $d): self { $this->dodatkowyProdukt = $d; return $this; }}