src/Entity/Platforma/Oddzial.php line 9

  1. <?php
  2. namespace App\Entity\Platforma;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Entity]
  5. #[ORM\Table(name'plat_oddzial')]
  6. class Oddzial
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private ?int $id null;
  12.     #[ORM\Column(type'string'length128)]
  13.     private string $oddzial;
  14.     #[ORM\Column(type'string'length128)]
  15.     private string $adres;
  16.     #[ORM\Column(type'string'length128)]
  17.     private string $telefon;
  18.     #[ORM\Column(type'string'length128)]
  19.     private string $email;
  20.     #[ORM\Column(type'string'length128)]
  21.     private string $nip;
  22.     #[ORM\Column(type'string'length128)]
  23.     private string $firma;
  24.     #[ORM\Column(name'rachunek_bankowy'type'string'length128)]
  25.     private string $rachunekBankowy;
  26.     #[ORM\Column(name'dodatkowe_info'type'text')]
  27.     private string $dodatkoweInfo;
  28.     #[ORM\Column(name'statut_email'type'string'length128)]
  29.     private string $statutEmail;
  30.     #[ORM\Column(name'komisja_1'type'string'length128)]
  31.     private string $komisja1;
  32.     #[ORM\Column(name'komisja_2'type'string'length128)]
  33.     private string $komisja2;
  34.     #[ORM\Column(name'komisja_3'type'string'length128)]
  35.     private string $komisja3;
  36.     #[ORM\Column(name'nazwa_centrum_ksztalcenia'type'string'length128)]
  37.     private string $nazwaCentrumKsztalcenia;
  38.     #[ORM\Column(name'email_grupa_2'type'string'length128)]
  39.     private string $emailGrupa2;
  40.     #[ORM\Column(name'stopka_mailingu'type'text')]
  41.     private string $stopkaMailingu;
  42.     #[ORM\Column(type'integer')]
  43.     private int $vis;
  44.     #[ORM\Column(type'integer')]
  45.     private int $publi;
  46.     #[ORM\Column(name'mainFirmaSzk'type'integer'nullabletrue)]
  47.     private ?int $mainFirmaSzk null;
  48.     #[ORM\Column(name'mainFirmaSzkBhp'type'integer'nullabletrue)]
  49.     private ?int $mainFirmaSzkBhp null;
  50.     public function __toString(): string
  51.     {
  52.         return $this->oddzial;
  53.     }
  54.     // --- Gettery i Settery ---
  55.     public function getId(): ?int { return $this->id; }
  56.     public function getOddzial(): string { return $this->oddzial; }
  57.     public function setOddzial(string $oddzial): self $this->oddzial $oddzial; return $this; }
  58.     public function getAdres(): string { return $this->adres; }
  59.     public function setAdres(string $adres): self $this->adres $adres; return $this; }
  60.     public function getTelefon(): string { return $this->telefon; }
  61.     public function setTelefon(string $telefon): self $this->telefon $telefon; return $this; }
  62.     public function getEmail(): string { return $this->email; }
  63.     public function setEmail(string $email): self $this->email $email; return $this; }
  64.     public function getNip(): string { return $this->nip; }
  65.     public function setNip(string $nip): self $this->nip $nip; return $this; }
  66.     public function getFirma(): string { return $this->firma; }
  67.     public function setFirma(string $firma): self $this->firma $firma; return $this; }
  68.     public function getRachunekBankowy(): string { return $this->rachunekBankowy; }
  69.     public function setRachunekBankowy(string $rachunekBankowy): self $this->rachunekBankowy $rachunekBankowy; return $this; }
  70.     public function getDodatkoweInfo(): string { return $this->dodatkoweInfo; }
  71.     public function setDodatkoweInfo(string $dodatkoweInfo): self $this->dodatkoweInfo $dodatkoweInfo; return $this; }
  72.     public function getStatutEmail(): string { return $this->statutEmail; }
  73.     public function setStatutEmail(string $statutEmail): self $this->statutEmail $statutEmail; return $this; }
  74.     public function getKomisja1(): string { return $this->komisja1; }
  75.     public function setKomisja1(string $komisja1): self $this->komisja1 $komisja1; return $this; }
  76.     public function getKomisja2(): string { return $this->komisja2; }
  77.     public function setKomisja2(string $komisja2): self $this->komisja2 $komisja2; return $this; }
  78.     public function getKomisja3(): string { return $this->komisja3; }
  79.     public function setKomisja3(string $komisja3): self $this->komisja3 $komisja3; return $this; }
  80.     public function getNazwaCentrumKsztalcenia(): string { return $this->nazwaCentrumKsztalcenia; }
  81.     public function setNazwaCentrumKsztalcenia(string $nazwaCentrumKsztalcenia): self $this->nazwaCentrumKsztalcenia $nazwaCentrumKsztalcenia; return $this; }
  82.     public function getEmailGrupa2(): string { return $this->emailGrupa2; }
  83.     public function setEmailGrupa2(string $emailGrupa2): self $this->emailGrupa2 $emailGrupa2; return $this; }
  84.     public function getStopkaMailingu(): string { return $this->stopkaMailingu; }
  85.     public function setStopkaMailingu(string $stopkaMailingu): self $this->stopkaMailingu $stopkaMailingu; return $this; }
  86.     public function getVis(): int { return $this->vis; }
  87.     public function setVis(int $vis): self $this->vis $vis; return $this; }
  88.     public function getPubli(): int { return $this->publi; }
  89.     public function setPubli(int $publi): self $this->publi $publi; return $this; }
  90.     public function getMainFirmaSzk(): ?int { return $this->mainFirmaSzk; }
  91.     public function setMainFirmaSzk(?int $mainFirmaSzk): self $this->mainFirmaSzk $mainFirmaSzk; return $this; }
  92.     public function getMainFirmaSzkBhp(): ?int { return $this->mainFirmaSzkBhp; }
  93.     public function setMainFirmaSzkBhp(?int $mainFirmaSzkBhp): self $this->mainFirmaSzkBhp $mainFirmaSzkBhp; return $this; }
  94. }