src/Entity/CRM/AgreementContractFullTemp.php line 9
<?phpnamespace App\Entity\CRM;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity]class AgreementContractFullTemp{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column(name: 'id', type: Types::INTEGER)]private ?int $id = null;#[ORM\Column(name: 'token', type: Types::STRING, length: 256)]private ?string $token = null;#[ORM\Column(name: 'data_utworzenia', type: Types::DATETIME_MUTABLE)]private ?\DateTimeInterface $dataUtworzenia = null;#[ORM\Column(name: 'email', type: Types::STRING, length: 256)]private ?string $email = null;#[ORM\Column(name: 'nazwa', type: Types::STRING, length: 256)]private ?string $nazwa = null;#[ORM\Column(name: 'ulica', type: Types::STRING, length: 256)]private ?string $ulica = null;#[ORM\Column(name: 'miasto', type: Types::STRING, length: 256)]private ?string $miasto = null;#[ORM\Column(name: 'kod', type: Types::STRING, length: 6)]private ?string $kod = null;#[ORM\Column(name: 'nip', type: Types::STRING, length: 256)]private ?string $nip = null;#[ORM\Column(name: 'regon', type: Types::STRING, length: 11, nullable: true)]private ?string $regon = null;// TYLKO w części baz:#[ORM\Column(name: 'kwota_netto', type: Types::STRING, length: 256, nullable: true)]private ?string $kwotaNetto = null;#[ORM\Column(name: 'kwota_vat', type: Types::STRING, length: 256, nullable: true)]private ?string $kwotaVat = null;#[ORM\Column(name: 'ilosc_rekomendowanych_podmiotow', type: Types::INTEGER, nullable: true)]private ?int $iloscRekomendowanychPodmiotow = null;#[ORM\Column(name: 'kwota_aktywacji', type: Types::INTEGER, nullable: true)]private ?int $kwotaAktywacji = null;#[ORM\Column(name: 'umowaBezSzkolen', type: Types::INTEGER, nullable: true)]private ?int $umowaBezSzkolen = null; // możesz sobie zmapować na bool#[ORM\Column(name: 'wczytania', type: Types::INTEGER)]private ?int $wczytania = 0;#[ORM\Column(name: 'zaakceptowana', type: Types::INTEGER)]private ?int $zaakceptowana = 0;#[ORM\Column(name: 'data_akceptacji', type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $dataAkceptacji = null;#[ORM\Column(name: 'notatka', type: Types::TEXT, nullable: true)]private ?string $notatka = null;#[ORM\Column(name: 'typ_id', type: Types::INTEGER)]private ?int $typId = null;#[ORM\Column(name: 'oddzial', type: Types::STRING, length: 256)]private ?string $oddzial = null;#[ORM\Column(name: 'nr_zam', type: Types::INTEGER, nullable: true)]private ?int $nrZam = null;#[ORM\Column(name: 'procent_prowizji', type: Types::INTEGER, nullable: true)]private ?int $procentProwizji = null;#[ORM\Column(name: 'pakietbhp', type: Types::INTEGER, nullable: true)]private ?int $pakietbhp = null;#[ORM\Column(name: 'wynagrodzenie', type: Types::STRING, length: 256, nullable: true)]private ?string $wynagrodzenie = null;#[ORM\Column(name: 'terminplatnosci', type: Types::INTEGER, nullable: true)]private ?int $terminPlatnosci = null;#[ORM\Column(name: 'automatyczniePrzedluzana', type: Types::INTEGER, nullable: true)]private ?int $automatyczniePrzedluzana = null;#[ORM\Column(name: 'liczba_miesiecy', type: Types::INTEGER, nullable: true)]private ?int $liczbaMiesiecy = null;// w części baz varchar(256), w części text – bierzemy TEXT jako najbardziej ogólne#[ORM\Column(name: 'dodatkowy_produkt', type: Types::TEXT, nullable: true)]private ?string $dodatkowyProdukt = null;#[ORM\Column(name: 'umowa_type', type: Types::TEXT, nullable: true)]private ?string $type = null;/** GETTERY / SETTERY* (pokażę kilka – resztę możesz szybko dorobić w IDE* albo wygenerować przez php bin/console make:entity --regenerate)*/public function getId(): ?int{return $id ?? null;}public function getToken(): ?string{return $this->token;}public function setToken(?string $token): self{$this->token = $token;return $this;}public function getDataUtworzenia(): ?\DateTimeInterface{return $this->dataUtworzenia;}public function setDataUtworzenia(?\DateTimeInterface $dataUtworzenia): self{$this->dataUtworzenia = $dataUtworzenia;return $this;}public function getEmail(): ?string{return $this->email;}public function setEmail(?string $email): self{$this->email = $email;return $this;}public function getNazwa(): ?string{return $this->nazwa;}public function setNazwa(?string $nazwa): void{$this->nazwa = $nazwa;}public function getUlica(): ?string{return $this->ulica;}public function setUlica(?string $ulica): void{$this->ulica = $ulica;}public function getMiasto(): ?string{return $this->miasto;}public function setMiasto(?string $miasto): void{$this->miasto = $miasto;}public function getKod(): ?string{return $this->kod;}public function setKod(?string $kod): void{$this->kod = $kod;}public function getNip(): ?string{return $this->nip;}public function setNip(?string $nip): void{$this->nip = $nip;}public function getRegon(): ?string{return $this->regon;}public function setRegon(?string $regon): void{$this->regon = $regon;}public function getKwotaNetto(): ?string{return $this->kwotaNetto;}public function setKwotaNetto(?string $kwotaNetto): void{$this->kwotaNetto = $kwotaNetto;}public function getKwotaVat(): ?string{return $this->kwotaVat;}public function setKwotaVat(?string $kwotaVat): void{$this->kwotaVat = $kwotaVat;}public function getIloscRekomendowanychPodmiotow(): ?int{return $this->iloscRekomendowanychPodmiotow;}public function setIloscRekomendowanychPodmiotow(?int $iloscRekomendowanychPodmiotow): void{$this->iloscRekomendowanychPodmiotow = $iloscRekomendowanychPodmiotow;}public function getKwotaAktywacji(): ?int{return $this->kwotaAktywacji;}public function setKwotaAktywacji(?int $kwotaAktywacji): void{$this->kwotaAktywacji = $kwotaAktywacji;}public function getUmowaBezSzkolen(): ?int{return $this->umowaBezSzkolen;}public function setUmowaBezSzkolen(?int $umowaBezSzkolen): void{$this->umowaBezSzkolen = $umowaBezSzkolen;}public function getWczytania(): ?int{return $this->wczytania;}public function setWczytania(?int $wczytania): void{$this->wczytania = $wczytania;}public function getZaakceptowana(): ?int{return $this->zaakceptowana;}public function setZaakceptowana(?int $zaakceptowana): void{$this->zaakceptowana = $zaakceptowana;}public function getDataAkceptacji(): ?\DateTimeInterface{return $this->dataAkceptacji;}public function setDataAkceptacji(?\DateTimeInterface $dataAkceptacji): void{$this->dataAkceptacji = $dataAkceptacji;}public function getNotatka(): ?string{return $this->notatka;}public function setNotatka(?string $notatka): void{$this->notatka = $notatka;}public function getTypId(): ?int{return $this->typId;}public function setTypId(?int $typId): void{$this->typId = $typId;}public function getOddzial(): ?string{return $this->oddzial;}public function setOddzial(?string $oddzial): void{$this->oddzial = $oddzial;}public function getNrZam(): ?int{return $this->nrZam;}public function setNrZam(?int $nrZam): void{$this->nrZam = $nrZam;}public function getProcentProwizji(): ?int{return $this->procentProwizji;}public function setProcentProwizji(?int $procentProwizji): void{$this->procentProwizji = $procentProwizji;}public function getPakietbhp(): ?int{return $this->pakietbhp;}public function setPakietbhp(?int $pakietbhp): void{$this->pakietbhp = $pakietbhp;}public function getWynagrodzenie(): ?string{return $this->wynagrodzenie;}public function setWynagrodzenie(?string $wynagrodzenie): void{$this->wynagrodzenie = $wynagrodzenie;}public function getTerminPlatnosci(): ?int{return $this->terminPlatnosci;}public function setTerminPlatnosci(?int $terminPlatnosci): void{$this->terminPlatnosci = $terminPlatnosci;}public function getAutomatyczniePrzedluzana(): ?int{return $this->automatyczniePrzedluzana;}public function setAutomatyczniePrzedluzana(?int $automatyczniePrzedluzana): void{$this->automatyczniePrzedluzana = $automatyczniePrzedluzana;}public function getLiczbaMiesiecy(): ?int{return $this->liczbaMiesiecy;}public function setLiczbaMiesiecy(?int $liczbaMiesiecy): void{$this->liczbaMiesiecy = $liczbaMiesiecy;}public function getDodatkowyProdukt(): ?string{return $this->dodatkowyProdukt;}public function setDodatkowyProdukt(?string $dodatkowyProdukt): void{$this->dodatkowyProdukt = $dodatkowyProdukt;}public function getType(): ?string{return $this->type;}public function setType(?string $type): void{$this->type = $type;}}