src/Entity/Gos/LeadsData.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use App\Repository\Gos\LeadsDataRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * This is imported metadata from unbounce.klienci and further modifications (e.g. relations)
  7.  * @ORM\Entity(repositoryClass=LeadsDataRepository::class)
  8.  * @ORM\HasLifecycleCallbacks
  9.  */
  10. class LeadsData
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="datetime")
  20.      */
  21.     private $createdAt;
  22.     /**
  23.      * @ORM\Column(type="datetime", nullable=true)
  24.      */
  25.     private $updatedAt;
  26.     /**
  27.      * @var string|null
  28.      *
  29.      * @ORM\Column(name="imie_i_nazwisko", type="string", length=255, nullable=true)
  30.      */
  31.     private $imieINazwisko;
  32.     /**
  33.      * @var string|null
  34.      *
  35.      * @ORM\Column(name="stanowisko", type="string", length=255, nullable=true)
  36.      */
  37.     private $stanowisko;
  38.     /**
  39.      * @var string|null
  40.      *
  41.      * @ORM\Column(name="telefon", type="string", length=20, nullable=true)
  42.      */
  43.     private $telefon;
  44.     /**
  45.      * @var string|null
  46.      *
  47.      * @ORM\Column(name="email", type="string", length=100, nullable=true)
  48.      */
  49.     private $email;
  50.     /**
  51.      * @var string|null
  52.      *
  53.      * @ORM\Column(name="firma", type="string", length=255, nullable=true)
  54.      */
  55.     private $firma;
  56.     /**
  57.      * @var string|null
  58.      *
  59.      * @ORM\Column(name="ulica", type="string", length=100, nullable=true)
  60.      */
  61.     private $ulica;
  62.     /**
  63.      * @var string|null
  64.      *
  65.      * @ORM\Column(name="kod_pocztowy", type="string", length=10, nullable=true)
  66.      */
  67.     private $kodPocztowy;
  68.     /**
  69.      * @var string|null
  70.      *
  71.      * @ORM\Column(name="miasto", type="string", length=100, nullable=true)
  72.      */
  73.     private $miasto;
  74.     /**
  75.      * @var bool|null
  76.      *
  77.      * @ORM\Column(name="zgoda", type="boolean", nullable=true)
  78.      */
  79.     private $zgoda;
  80.     /**
  81.      * @var bool|null
  82.      *
  83.      * @ORM\Column(name="zgoda_fmp", type="boolean", nullable=true)
  84.      */
  85.     private $zgodaFmp;
  86.     /**
  87.      * @var bool|null
  88.      *
  89.      * @ORM\Column(name="zgoda_partner", type="boolean", nullable=true)
  90.      */
  91.     private $zgodaPartner;
  92.     /**
  93.      * @var string|null
  94.      *
  95.      * @ORM\Column(name="a", type="string", length=10, nullable=true)
  96.      */
  97.     private $a;
  98.     /**
  99.      * @var string|null
  100.      *
  101.      * @ORM\Column(name="f", type="string", length=255, nullable=true)
  102.      */
  103.     private $f;
  104.     /**
  105.      * @var string|null
  106.      *
  107.      * @ORM\Column(name="produkt", type="text", length=16777215, nullable=true)
  108.      */
  109.     private $produkt;
  110.     /**
  111.      * @var \DateTime|null
  112.      *
  113.      * @ORM\Column(name="data_kontaktu", type="datetime", nullable=true)
  114.      */
  115.     private $dataKontaktu;
  116.     /**
  117.      * @var int
  118.      *
  119.      * @ORM\Column(name="zrodlo", type="integer", nullable=false)
  120.      */
  121.     private $zrodlo;
  122.     /**
  123.      * @var string|null
  124.      *
  125.      * @ORM\Column(name="dane_dodatkowe", type="text", nullable=true)
  126.      */
  127.     private $daneDodatkowe;
  128.     /**
  129.      * @var string|null
  130.      *
  131.      * @ORM\Column(name="id_kampania", type="text", nullable=true)
  132.      */
  133.     private $idKampania;
  134.     /**
  135.      * @var string|null
  136.      *
  137.      * @ORM\Column(name="id_asset", type="text", nullable=true)
  138.      */
  139.     private $idAsset;
  140.     /**
  141.      * @var string|null
  142.      *
  143.      * @ORM\Column(name="id_add", type="text", nullable=true)
  144.      */
  145.     private $idAdd;
  146.     /**
  147.      * @var string|null
  148.      *
  149.      * @ORM\Column(name="kampania_nazwa", type="string", length=255, nullable=true)
  150.      */
  151.     private $kampaniaNazwa;
  152.     /**
  153.      * @var string|null
  154.      *
  155.      * @ORM\Column(name="kampania_zestaw_reklam", type="text", nullable=true)
  156.      */
  157.     private $kampaniaZestawReklam;
  158.     /**
  159.      * @var string|null
  160.      *
  161.      * @ORM\Column(name="kampania_reklama", type="string", length=255, nullable=true)
  162.      */
  163.     private $kampaniaReklama;
  164.     /**
  165.      * @var string|null
  166.      *
  167.      * @ORM\Column(name="cpl_reklama", type="string", length=255, nullable=true)
  168.      */
  169.     private $cplReklama;
  170.     /**
  171.      * @var string|null
  172.      *
  173.      * @ORM\Column(name="is_organic", type="string", length=255, nullable=true)
  174.      */
  175.     private $isOrganic;
  176.     /**
  177.      * @var string|null
  178.      *
  179.      * @ORM\Column(name="id_posta", type="text", nullable=true)
  180.      */
  181.     private $idPosta;
  182.     /**
  183.      * @var string|null
  184.      *
  185.      * @ORM\Column(name="demografia_wiek", type="string", length=255, nullable=true)
  186.      */
  187.     private $demografiaWiek;
  188.     /**
  189.      * @var string|null
  190.      *
  191.      * @ORM\Column(name="demografia_plec", type="string", length=255, nullable=true)
  192.      */
  193.     private $demografiaPlec;
  194.     /**
  195.      * @var string|null
  196.      *
  197.      * @ORM\Column(name="demografia_miasto", type="string", length=255, nullable=true)
  198.      */
  199.     private $demografiaMiasto;
  200.     /**
  201.      * @var string|null
  202.      *
  203.      * @ORM\Column(name="placement_platforma", type="string", length=255, nullable=true)
  204.      */
  205.     private $placementPlatforma;
  206.     /**
  207.      * @var string|null
  208.      *
  209.      * @ORM\Column(name="target_group", type="string", length=255, nullable=true)
  210.      */
  211.     private $targetGroup;
  212.     /**
  213.      * @var string|null
  214.      *
  215.      * @ORM\Column(name="reginfo", type="string", length=255, nullable=true)
  216.      */
  217.     private $reginfo;
  218.     /**
  219.      * @ORM\ManyToOne(targetEntity=User::class)
  220.      */
  221.     private $user;
  222.     /**
  223.      * @ORM\ManyToOne(targetEntity=Orders::class)
  224.      */
  225.     private $orders;
  226.     /**
  227.      * @ORM\Column(type="string", length=255, nullable=true)
  228.      */
  229.     private $source;
  230.     /**
  231.      * @ORM\Column(type="integer", nullable=true)
  232.      */
  233.     private $npwz;
  234.     /**
  235.      * @ORM\Column(type="string", length=255, nullable=true)
  236.      */
  237.     private $cGos;
  238.     /**
  239.      * @ORM\Column(type="string", length=255, nullable=true)
  240.      */
  241.     private $chcGos;
  242.     /**
  243.      * @ORM\Column(type="string", length=255, nullable=true)
  244.      */
  245.     private $leadGroup;
  246.     /**
  247.      * @ORM\Column(type="text", nullable=true)
  248.      */
  249.     private $relatedProductVariants;
  250.     /**
  251.      * @ORM\Column(type="text", nullable=true)
  252.      */
  253.     private $allA;
  254.     /**
  255.      * @ORM\Column(type="text", nullable=true)
  256.      */
  257.     private $allF;
  258.     /**
  259.      * @ORM\Column(type="string", length=255, nullable=true)
  260.      */
  261.     private $sourceType;
  262.     /**
  263.      * @ORM\ManyToOne(targetEntity=PortalSettings::class)
  264.      */
  265.     private $portalSettings;
  266.     /** @ORM\PrePersist() */
  267.     public function prePersist()
  268.     {
  269.         $this->createdAt = new \DateTime();
  270.     }
  271.     /** @ORM\PreUpdate() */
  272.     public function preUpdate()
  273.     {
  274.         $this->updatedAt = new \DateTime();
  275.     }
  276.     public function getId(): ?int
  277.     {
  278.         return $this->id;
  279.     }
  280.     public function setCreatedAt(?\DateTimeInterface $createdAt): self
  281.     {
  282.         $this->createdAt $createdAt;
  283.         return $this;
  284.     }
  285.     public function getCreatedAt(): ?\DateTimeInterface
  286.     {
  287.         return $this->createdAt;
  288.     }
  289.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  290.     {
  291.         $this->updatedAt $updatedAt;
  292.         return $this;
  293.     }
  294.     public function getUpdatedAt(): ?\DateTimeInterface
  295.     {
  296.         return $this->updatedAt;
  297.     }
  298.     public function getImieINazwisko(): ?string
  299.     {
  300.         return $this->imieINazwisko;
  301.     }
  302.     public function setImieINazwisko(?string $imieINazwisko): self
  303.     {
  304.         $this->imieINazwisko $imieINazwisko;
  305.         return $this;
  306.     }
  307.     public function getStanowisko(): ?string
  308.     {
  309.         return $this->stanowisko;
  310.     }
  311.     public function setStanowisko(?string $stanowisko): self
  312.     {
  313.         $this->stanowisko $stanowisko;
  314.         return $this;
  315.     }
  316.     public function getTelefon(): ?string
  317.     {
  318.         return $this->telefon;
  319.     }
  320.     public function setTelefon(?string $telefon): self
  321.     {
  322.         $this->telefon $telefon;
  323.         return $this;
  324.     }
  325.     public function getEmail(): ?string
  326.     {
  327.         return $this->email;
  328.     }
  329.     public function setEmail(?string $email): self
  330.     {
  331.         $this->email $email;
  332.         return $this;
  333.     }
  334.     public function getFirma(): ?string
  335.     {
  336.         return $this->firma;
  337.     }
  338.     public function setFirma(?string $firma): self
  339.     {
  340.         $this->firma $firma;
  341.         return $this;
  342.     }
  343.     public function getUlica(): ?string
  344.     {
  345.         return $this->ulica;
  346.     }
  347.     public function setUlica(?string $ulica): self
  348.     {
  349.         $this->ulica $ulica;
  350.         return $this;
  351.     }
  352.     public function getKodPocztowy(): ?string
  353.     {
  354.         return $this->kodPocztowy;
  355.     }
  356.     public function setKodPocztowy(?string $kodPocztowy): self
  357.     {
  358.         $this->kodPocztowy $kodPocztowy;
  359.         return $this;
  360.     }
  361.     public function getMiasto(): ?string
  362.     {
  363.         return $this->miasto;
  364.     }
  365.     public function setMiasto(?string $miasto): self
  366.     {
  367.         $this->miasto $miasto;
  368.         return $this;
  369.     }
  370.     public function getZgoda(): ?bool
  371.     {
  372.         return $this->zgoda;
  373.     }
  374.     public function setZgoda(?bool $zgoda): self
  375.     {
  376.         $this->zgoda $zgoda;
  377.         return $this;
  378.     }
  379.     public function getZgodaFmp(): ?bool
  380.     {
  381.         return $this->zgodaFmp;
  382.     }
  383.     public function setZgodaFmp(?bool $zgodaFmp): self
  384.     {
  385.         $this->zgodaFmp $zgodaFmp;
  386.         return $this;
  387.     }
  388.     public function getZgodaPartner(): ?bool
  389.     {
  390.         return $this->zgodaPartner;
  391.     }
  392.     public function setZgodaPartner(?bool $zgodaPartner): self
  393.     {
  394.         $this->zgodaPartner $zgodaPartner;
  395.         return $this;
  396.     }
  397.     public function getA(): ?string
  398.     {
  399.         return $this->a;
  400.     }
  401.     public function setA(?string $a): self
  402.     {
  403.         $this->$a;
  404.         return $this;
  405.     }
  406.     public function getF(): ?string
  407.     {
  408.         return $this->f;
  409.     }
  410.     public function setF(?string $f): self
  411.     {
  412.         $this->$f;
  413.         return $this;
  414.     }
  415.     public function getProdukt(): ?string
  416.     {
  417.         return $this->produkt;
  418.     }
  419.     public function setProdukt(?string $produkt): self
  420.     {
  421.         $this->produkt $produkt;
  422.         return $this;
  423.     }
  424.     public function getDataKontaktu(): ?\DateTimeInterface
  425.     {
  426.         return $this->dataKontaktu;
  427.     }
  428.     public function setDataKontaktu(?\DateTimeInterface $dataKontaktu): self
  429.     {
  430.         $this->dataKontaktu $dataKontaktu;
  431.         return $this;
  432.     }
  433.     public function getZrodlo(): ?int
  434.     {
  435.         return $this->zrodlo;
  436.     }
  437.     public function setZrodlo(int $zrodlo): self
  438.     {
  439.         $this->zrodlo $zrodlo;
  440.         return $this;
  441.     }
  442.     public function getDaneDodatkowe(): ?string
  443.     {
  444.         return $this->daneDodatkowe;
  445.     }
  446.     public function setDaneDodatkowe(?string $daneDodatkowe): self
  447.     {
  448.         $this->daneDodatkowe $daneDodatkowe;
  449.         return $this;
  450.     }
  451.     public function getIdKampania(): ?string
  452.     {
  453.         return $this->idKampania;
  454.     }
  455.     public function setIdKampania(?string $idKampania): self
  456.     {
  457.         $this->idKampania $idKampania;
  458.         return $this;
  459.     }
  460.     public function getIdAsset(): ?string
  461.     {
  462.         return $this->idAsset;
  463.     }
  464.     public function setIdAsset(?string $idAsset): self
  465.     {
  466.         $this->idAsset $idAsset;
  467.         return $this;
  468.     }
  469.     public function getIdAdd(): ?string
  470.     {
  471.         return $this->idAdd;
  472.     }
  473.     public function setIdAdd(?string $idAdd): self
  474.     {
  475.         $this->idAdd $idAdd;
  476.         return $this;
  477.     }
  478.     public function getKampaniaNazwa(): ?string
  479.     {
  480.         return $this->kampaniaNazwa;
  481.     }
  482.     public function setKampaniaNazwa(?string $kampaniaNazwa): self
  483.     {
  484.         $this->kampaniaNazwa $kampaniaNazwa;
  485.         return $this;
  486.     }
  487.     public function getKampaniaZestawReklam(): ?string
  488.     {
  489.         return $this->kampaniaZestawReklam;
  490.     }
  491.     public function setKampaniaZestawReklam(?string $kampaniaZestawReklam): self
  492.     {
  493.         $this->kampaniaZestawReklam $kampaniaZestawReklam;
  494.         return $this;
  495.     }
  496.     public function getKampaniaReklama(): ?string
  497.     {
  498.         return $this->kampaniaReklama;
  499.     }
  500.     public function setKampaniaReklama(?string $kampaniaReklama): self
  501.     {
  502.         $this->kampaniaReklama $kampaniaReklama;
  503.         return $this;
  504.     }
  505.     public function getCplReklama(): ?string
  506.     {
  507.         return $this->cplReklama;
  508.     }
  509.     public function setCplReklama(?string $cplReklama): self
  510.     {
  511.         $this->cplReklama $cplReklama;
  512.         return $this;
  513.     }
  514.     public function getIsOrganic(): ?string
  515.     {
  516.         return $this->isOrganic;
  517.     }
  518.     public function setIsOrganic(?string $isOrganic): self
  519.     {
  520.         $this->isOrganic $isOrganic;
  521.         return $this;
  522.     }
  523.     public function getIdPosta(): ?string
  524.     {
  525.         return $this->idPosta;
  526.     }
  527.     public function setIdPosta(?string $idPosta): self
  528.     {
  529.         $this->idPosta $idPosta;
  530.         return $this;
  531.     }
  532.     public function getDemografiaWiek(): ?string
  533.     {
  534.         return $this->demografiaWiek;
  535.     }
  536.     public function setDemografiaWiek(?string $demografiaWiek): self
  537.     {
  538.         $this->demografiaWiek $demografiaWiek;
  539.         return $this;
  540.     }
  541.     public function getDemografiaPlec(): ?string
  542.     {
  543.         return $this->demografiaPlec;
  544.     }
  545.     public function setDemografiaPlec(?string $demografiaPlec): self
  546.     {
  547.         $this->demografiaPlec $demografiaPlec;
  548.         return $this;
  549.     }
  550.     public function getDemografiaMiasto(): ?string
  551.     {
  552.         return $this->demografiaMiasto;
  553.     }
  554.     public function setDemografiaMiasto(?string $demografiaMiasto): self
  555.     {
  556.         $this->demografiaMiasto $demografiaMiasto;
  557.         return $this;
  558.     }
  559.     public function getPlacementPlatforma(): ?string
  560.     {
  561.         return $this->placementPlatforma;
  562.     }
  563.     public function setPlacementPlatforma(?string $placementPlatforma): self
  564.     {
  565.         $this->placementPlatforma $placementPlatforma;
  566.         return $this;
  567.     }
  568.     public function getTargetGroup(): ?string
  569.     {
  570.         return $this->targetGroup;
  571.     }
  572.     public function setTargetGroup(?string $targetGroup): self
  573.     {
  574.         $this->targetGroup $targetGroup;
  575.         return $this;
  576.     }
  577.     public function getReginfo(): ?string
  578.     {
  579.         return $this->reginfo;
  580.     }
  581.     public function setReginfo(?string $reginfo): self
  582.     {
  583.         $this->reginfo $reginfo;
  584.         return $this;
  585.     }
  586.     public function getUser(): ?User
  587.     {
  588.         return $this->user;
  589.     }
  590.     public function setUser(?User $user): self
  591.     {
  592.         $this->user $user;
  593.         return $this;
  594.     }
  595.     public function getOrders(): ?Orders
  596.     {
  597.         return $this->orders;
  598.     }
  599.     public function setOrders(?Orders $orders): self
  600.     {
  601.         $this->orders $orders;
  602.         return $this;
  603.     }
  604.     public function getSource(): ?string
  605.     {
  606.         return $this->source;
  607.     }
  608.     public function setSource(?string $source): self
  609.     {
  610.         $this->source $source;
  611.         return $this;
  612.     }
  613.     public function getNpwz(): ?int
  614.     {
  615.         return $this->npwz;
  616.     }
  617.     public function setNpwz(?int $npwz): self
  618.     {
  619.         $this->npwz $npwz;
  620.         return $this;
  621.     }
  622.     public function getCGos(): ?string
  623.     {
  624.         return $this->cGos;
  625.     }
  626.     public function setCGos(?string $cGos): self
  627.     {
  628.         $this->cGos $cGos;
  629.         return $this;
  630.     }
  631.     public function getChcGos(): ?string
  632.     {
  633.         return $this->chcGos;
  634.     }
  635.     public function setChcGos(?string $chcGos): self
  636.     {
  637.         $this->chcGos $chcGos;
  638.         return $this;
  639.     }
  640.     public function getLeadGroup(): ?string
  641.     {
  642.         return $this->leadGroup;
  643.     }
  644.     public function setLeadGroup(?string $leadGroup): self
  645.     {
  646.         $this->leadGroup $leadGroup;
  647.         return $this;
  648.     }
  649.     public function getRelatedProductVariants(): ?string
  650.     {
  651.         return $this->relatedProductVariants;
  652.     }
  653.     public function setRelatedProductVariants(?string $relatedProductVariants): self
  654.     {
  655.         $this->relatedProductVariants $relatedProductVariants;
  656.         return $this;
  657.     }
  658.     public function getAllA(): ?string
  659.     {
  660.         return $this->allA;
  661.     }
  662.     public function setAllA(?string $allA): self
  663.     {
  664.         $this->allA $allA;
  665.         return $this;
  666.     }
  667.     public function getAllF(): ?string
  668.     {
  669.         return $this->allF;
  670.     }
  671.     public function setAllF(?string $allF): self
  672.     {
  673.         $this->allF $allF;
  674.         return $this;
  675.     }
  676.     public function getSourceType(): ?string
  677.     {
  678.         return $this->sourceType;
  679.     }
  680.     public function setSourceType(?string $sourceType): self
  681.     {
  682.         $this->sourceType $sourceType;
  683.         return $this;
  684.     }
  685.     public function getPortalSettings(): ?PortalSettings
  686.     {
  687.         return $this->portalSettings;
  688.     }
  689.     public function setPortalSettings(?PortalSettings $portalSettings): self
  690.     {
  691.         $this->portalSettings $portalSettings;
  692.         return $this;
  693.     }
  694.     public function getObjectVars(): array
  695.     {
  696.         return get_object_vars($this);
  697.     }
  698. }