src/Entity/Gos/LeadFormCompleted.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\Gos\LeadFormCompletedRepository")
  6.  */
  7. class LeadFormCompleted
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\ManyToOne(targetEntity="User", inversedBy="leadFormCompleted")
  17.      * @ORM\JoinColumn(nullable=false)
  18.      */
  19.     private $user;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $regInfo;
  24.     /**
  25.      * @ORM\Column(type="string", length=30, nullable=true)
  26.      */
  27.     private $phoneNumber;
  28.     /**
  29.      * @ORM\Column(type="string", length=255, nullable=true)
  30.      */
  31.     private $street;
  32.     /**
  33.      * @ORM\Column(type="string", length=10, nullable=true)
  34.      */
  35.     private $postalCode;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $city;
  40.     /**
  41.      * @ORM\Column(type="datetime")
  42.      */
  43.     private $createdAt;
  44.     /**
  45.      * @ORM\ManyToOne(targetEntity="PortalSettings", inversedBy="")
  46.      * @ORM\JoinColumn()
  47.      */
  48.     private $portalSetting;
  49.     /**
  50.      * @ORM\Column(type="string", length=100, nullable=true)
  51.      */
  52.     private $fromSource;
  53.     /**
  54.      * @ORM\Column(type="string", length=8, nullable=true)
  55.      */
  56.     private $actionNumber;
  57.     /**
  58.      * @ORM\Column(type="string", length=100, nullable=true)
  59.      */
  60.     private $campaign;
  61.     /**
  62.      * @ORM\Column(type="string", length=100, nullable=true)
  63.      */
  64.     private $campaignChannel;
  65.     /**
  66.      * @ORM\ManyToOne(targetEntity="App\Entity\Gos\LeadFormResponse")
  67.      * @ORM\JoinColumn()
  68.      */
  69.     private $template;
  70.     /**
  71.      * @ORM\Column(type="date", nullable=true)
  72.      */
  73.     private $reminderNextDate;
  74.     /**
  75.      * @ORM\Column(type="integer", nullable=true)
  76.      */
  77.     private $reminderCount;
  78.     /**
  79.      * @ORM\Column(type="string", length=255, nullable=true)
  80.      */
  81.     private $position;
  82.     /**
  83.      * @ORM\Column(type="integer", nullable=true)
  84.      */
  85.     private $npwz;
  86.     /**
  87.      * @ORM\Column(type="string", length=255, nullable=true)
  88.      */
  89.     private $houseNumber;
  90.     /**
  91.      * @ORM\Column(type="string", length=255, nullable=true)
  92.      */
  93.     private $apartmentNumber;
  94.     /**
  95.      * LeadFormCompleted constructor.
  96.      */
  97.     public function __construct()
  98.     {
  99.         $this->createdAt = new \DateTime();
  100.     }
  101.     /**
  102.      * @return int|null
  103.      */
  104.     public function getId(): ?int
  105.     {
  106.         return $this->id;
  107.     }
  108.     /**
  109.      * @return User|null
  110.      */
  111.     public function getUser(): ?User
  112.     {
  113.         return $this->user;
  114.     }
  115.     /**
  116.      * @param User|null $user
  117.      * @return LeadFormCompleted
  118.      */
  119.     public function setUser(?User $user): self
  120.     {
  121.         $this->user $user;
  122.         return $this;
  123.     }
  124.     /**
  125.      * @return null|string
  126.      */
  127.     public function getRegInfo(): ?string
  128.     {
  129.         return $this->regInfo;
  130.     }
  131.     /**
  132.      * @param string $regInfo
  133.      * @return LeadFormCompleted
  134.      */
  135.     public function setRegInfo(string $regInfo): self
  136.     {
  137.         $this->regInfo $regInfo;
  138.         return $this;
  139.     }
  140.     /**
  141.      * @return null|string
  142.      */
  143.     public function getPhoneNumber(): ?string
  144.     {
  145.         return $this->phoneNumber;
  146.     }
  147.     /**
  148.      * @param null|string $phoneNumber
  149.      * @return self
  150.      */
  151.     public function setPhoneNumber(?string $phoneNumber): self
  152.     {
  153.         $this->phoneNumber $phoneNumber;
  154.         return $this;
  155.     }
  156.     /**
  157.      * @return null|string
  158.      */
  159.     public function getStreet(): ?string
  160.     {
  161.         return $this->street;
  162.     }
  163.     /**
  164.      * @param null|string $street
  165.      * @return self
  166.      */
  167.     public function setStreet(?string $street): self
  168.     {
  169.         $this->street $street;
  170.         return $this;
  171.     }
  172.     /**
  173.      * @return null|string
  174.      */
  175.     public function getPostalCode(): ?string
  176.     {
  177.         return $this->postalCode;
  178.     }
  179.     /**
  180.      * @param null|string $postalCode
  181.      * @return self
  182.      */
  183.     public function setPostalCode(?string $postalCode): self
  184.     {
  185.         $this->postalCode $postalCode;
  186.         return $this;
  187.     }
  188.     /**
  189.      * @return null|string
  190.      */
  191.     public function getCity(): ?string
  192.     {
  193.         return $this->city;
  194.     }
  195.     /**
  196.      * @param null|string $city
  197.      * @return self
  198.      */
  199.     public function setCity(?string $city): self
  200.     {
  201.         $this->city $city;
  202.         return $this;
  203.     }
  204.     /**
  205.      * @return \DateTimeInterface|null
  206.      */
  207.     public function getCreatedAt(): ?\DateTimeInterface
  208.     {
  209.         return $this->createdAt;
  210.     }
  211.     /**
  212.      * @param \DateTimeInterface $createdAt
  213.      * @return LeadFormCompleted
  214.      */
  215.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  216.     {
  217.         $this->createdAt $createdAt;
  218.         return $this;
  219.     }
  220.     /**
  221.      * @return PortalSettings|null
  222.      */
  223.     public function getPortalSetting(): ?PortalSettings
  224.     {
  225.         return $this->portalSetting;
  226.     }
  227.     /**
  228.      * @param PortalSettings|null $portalSetting
  229.      * @return LeadFormCompleted
  230.      */
  231.     public function setPortalSetting(?PortalSettings $portalSetting): self
  232.     {
  233.         $this->portalSetting $portalSetting;
  234.         return $this;
  235.     }
  236.     /**
  237.      * @return null|string
  238.      */
  239.     public function getFromSource(): ?string
  240.     {
  241.         return $this->fromSource;
  242.     }
  243.     /**
  244.      * @param null|string $fromSource
  245.      * @return LeadFormCompleted
  246.      */
  247.     public function setFromSource(?string $fromSource)
  248.     {
  249.         $this->fromSource $fromSource;
  250.         return $this;
  251.     }
  252.     /**
  253.      * @param $actionNumber
  254.      * @return $this
  255.      */
  256.     public function setActionNumber($actionNumber)
  257.     {
  258.         $this->actionNumber $actionNumber;
  259.         return $this;
  260.     }
  261.     /**
  262.      * Get actionNumber
  263.      *
  264.      * @return string
  265.      */
  266.     public function getActionNumber()
  267.     {
  268.         return $this->actionNumber;
  269.     }
  270.     /**
  271.      * @param $campaign
  272.      * @return $this
  273.      */
  274.     public function setCampaign($campaign)
  275.     {
  276.         $this->campaign $campaign;
  277.         return $this;
  278.     }
  279.     /**
  280.      * Get campaign
  281.      *
  282.      * @return string
  283.      */
  284.     public function getCampaign()
  285.     {
  286.         return $this->campaign;
  287.     }
  288.     /**
  289.      * @param $campaignChannel
  290.      * @return $this
  291.      */
  292.     public function setCampaignChannel($campaignChannel)
  293.     {
  294.         $this->campaignChannel $campaignChannel;
  295.         return $this;
  296.     }
  297.     /**
  298.      * @return null|string
  299.      */
  300.     public function getCampaignChannel(): ?string
  301.     {
  302.         return $this->campaignChannel;
  303.     }
  304.     public function getObjectVars()
  305.     {
  306.         return get_object_vars($this);
  307.     }
  308.     public function getTemplate(): ?LeadFormResponse
  309.     {
  310.         return $this->template;
  311.     }
  312.     public function setTemplate(?LeadFormResponse $template): self
  313.     {
  314.         $this->template $template;
  315.         return $this;
  316.     }
  317.     public function getReminderNextDate(): ?\DateTimeInterface
  318.     {
  319.         return $this->reminderNextDate;
  320.     }
  321.     public function setReminderNextDate(?\DateTimeInterface $reminderNextDate): self
  322.     {
  323.         $this->reminderNextDate $reminderNextDate;
  324.         return $this;
  325.     }
  326.     public function getReminderCount(): ?int
  327.     {
  328.         return $this->reminderCount;
  329.     }
  330.     public function setReminderCount(?int $reminderCount): self
  331.     {
  332.         $this->reminderCount $reminderCount;
  333.         return $this;
  334.     }
  335.     public function getPosition(): ?string
  336.     {
  337.         return $this->position;
  338.     }
  339.     public function setPosition(?string $position): self
  340.     {
  341.         $this->position $position;
  342.         return $this;
  343.     }
  344.     public function getNpwz(): ?int
  345.     {
  346.         return $this->npwz;
  347.     }
  348.     public function setNpwz(?int $npwz): self
  349.     {
  350.         $this->npwz $npwz;
  351.         return $this;
  352.     }
  353.     public function getHouseNumber(): ?string
  354.     {
  355.         return $this->houseNumber;
  356.     }
  357.     public function setHouseNumber(?string $houseNumber): self
  358.     {
  359.         $this->houseNumber $houseNumber;
  360.         return $this;
  361.     }
  362.     public function getApartmentNumber(): ?string
  363.     {
  364.         return $this->apartmentNumber;
  365.     }
  366.     public function setApartmentNumber(?string $apartmentNumber): self
  367.     {
  368.         $this->apartmentNumber $apartmentNumber;
  369.         return $this;
  370.     }
  371. }