src/Entity/Report/CustomerStats.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Report;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Table(name="customer_stats", indexes={@ORM\Index(name="customer_id", columns={"customer_id"})})
  7.  *
  8.  * @ORM\Entity(repositoryClass="App\Repository\Report\CustomerStatsRepository")
  9.  */
  10. class CustomerStats
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      *
  15.      * @ORM\GeneratedValue(strategy="AUTO")
  16.      *
  17.      * @ORM\Column(type="integer", name="id")
  18.      */
  19.     private int $id;
  20.     /**
  21.      * @ORM\Column(name="customer_id", type="integer", nullable=true)
  22.      */
  23.     private ?int $customerId;
  24.     /**
  25.      * @ORM\Column(name="language_id", type="integer", nullable=true)
  26.      */
  27.     private ?int $languageId;
  28.     /**
  29.      * @ORM\Column(name="referer_url", type="text", nullable=true)
  30.      */
  31.     private ?string $refererUrl;
  32.     /**
  33.      * @ORM\Column(name="gadw_matchtype", type="string", nullable=true, length=40)
  34.      */
  35.     private ?string $gadwMatchtype;
  36.     /**
  37.      * @ORM\Column(name="gadw_network", type="string", nullable=true, length=40)
  38.      */
  39.     private ?string $gadwNetwork;
  40.     /**
  41.      * @ORM\Column(name="gadw_keyword", type="string", nullable=true, length=40)
  42.      */
  43.     private ?string $gadwKeyword;
  44.     /**
  45.      * @ORM\Column(name="utm_source", type="string", nullable=true, length=40)
  46.      */
  47.     private ?string $utmSource;
  48.     /**
  49.      * @ORM\Column(name="utm_medium", type="string", nullable=true, length=40)
  50.      */
  51.     private ?string $utmMedium;
  52.     /**
  53.      * @ORM\Column(name="utm_campaign", type="string", nullable=true, length=40)
  54.      */
  55.     private ?string $utmCampaign;
  56.     /**
  57.      * @ORM\Column(name="utm_id", type="string", nullable=true, length=40)
  58.      */
  59.     private ?string $utmId null;
  60.     /**
  61.      * @ORM\Column(name="utm_content", type="string", nullable=true, length=40)
  62.      */
  63.     private ?string $utmContent null;
  64.     /**
  65.      * @ORM\Column(name="tapfiliate", type="text", nullable=true)
  66.      */
  67.     private ?string $tapfiliate;
  68.     /**
  69.      * @ORM\Column(name="gclid", type="string", nullable=true)
  70.      */
  71.     private ?string $gclid;
  72.     /**
  73.      * @ORM\Column(name="fblid", type="string", nullable=true)
  74.      */
  75.     private ?string $fblid;
  76.     /**
  77.      * @ORM\Column(name="date_add", type="datetime")
  78.      */
  79.     private \DateTime $dateAdd;
  80.     public function __construct(?int $customerId null)
  81.     {
  82.         $this->dateAdd = new \DateTime();
  83.         $this->customerId $customerId;
  84.     }
  85.     public function getId(): int
  86.     {
  87.         return $this->id;
  88.     }
  89.     public function getCustomerId(): ?int
  90.     {
  91.         return $this->customerId;
  92.     }
  93.     public function setCustomerId(?int $customerId): CustomerStats
  94.     {
  95.         $this->customerId $customerId;
  96.         return $this;
  97.     }
  98.     public function getLanguageId(): ?int
  99.     {
  100.         return $this->languageId;
  101.     }
  102.     public function setLanguageId(?int $languageId): CustomerStats
  103.     {
  104.         $this->languageId $languageId;
  105.         return $this;
  106.     }
  107.     public function getRefererUrl(): ?string
  108.     {
  109.         return $this->refererUrl;
  110.     }
  111.     public function setRefererUrl(?string $refererUrl): CustomerStats
  112.     {
  113.         $this->refererUrl $refererUrl;
  114.         return $this;
  115.     }
  116.     public function getGadwMatchtype(): ?string
  117.     {
  118.         return $this->gadwMatchtype;
  119.     }
  120.     public function setGadwMatchtype(?string $gadwMatchtype): CustomerStats
  121.     {
  122.         $this->gadwMatchtype $gadwMatchtype;
  123.         return $this;
  124.     }
  125.     public function getGadwNetwork(): ?string
  126.     {
  127.         return $this->gadwNetwork;
  128.     }
  129.     public function setGadwNetwork(?string $gadwNetwork): CustomerStats
  130.     {
  131.         $this->gadwNetwork $gadwNetwork;
  132.         return $this;
  133.     }
  134.     public function getGadwKeyword(): ?string
  135.     {
  136.         return $this->gadwKeyword;
  137.     }
  138.     public function setGadwKeyword(?string $gadwKeyword): CustomerStats
  139.     {
  140.         $this->gadwKeyword $gadwKeyword;
  141.         return $this;
  142.     }
  143.     public function getUtmSource(): ?string
  144.     {
  145.         return $this->utmSource;
  146.     }
  147.     public function setUtmSource(?string $utmSource): CustomerStats
  148.     {
  149.         $this->utmSource $utmSource;
  150.         return $this;
  151.     }
  152.     public function getUtmMedium(): ?string
  153.     {
  154.         return $this->utmMedium;
  155.     }
  156.     public function setUtmMedium(?string $utmMedium): CustomerStats
  157.     {
  158.         $this->utmMedium $utmMedium;
  159.         return $this;
  160.     }
  161.     public function getUtmCampaign(): ?string
  162.     {
  163.         return $this->utmCampaign;
  164.     }
  165.     public function setUtmCampaign(?string $utmCampaign): CustomerStats
  166.     {
  167.         $this->utmCampaign $utmCampaign;
  168.         return $this;
  169.     }
  170.     public function getUtmId(): ?string
  171.     {
  172.         return $this->utmId;
  173.     }
  174.     public function setUtmId(?string $utmId): CustomerStats
  175.     {
  176.         $this->utmId $utmId;
  177.         return $this;
  178.     }
  179.     public function getUtmContent(): ?string
  180.     {
  181.         return $this->utmContent;
  182.     }
  183.     public function setUtmContent(?string $utmContent): CustomerStats
  184.     {
  185.         $this->utmContent $utmContent;
  186.         return $this;
  187.     }
  188.     public function getTapfiliate(): ?string
  189.     {
  190.         return $this->tapfiliate;
  191.     }
  192.     public function setTapfiliate(?string $tapfiliate): CustomerStats
  193.     {
  194.         $this->tapfiliate $tapfiliate;
  195.         return $this;
  196.     }
  197.     public function getGclid(): ?string
  198.     {
  199.         return $this->gclid;
  200.     }
  201.     public function setGclid(?string $gclid): CustomerStats
  202.     {
  203.         $this->gclid $gclid;
  204.         return $this;
  205.     }
  206.     public function getFblid(): ?string
  207.     {
  208.         return $this->fblid;
  209.     }
  210.     public function setFblid(?string $fblid): CustomerStats
  211.     {
  212.         $this->fblid $fblid;
  213.         return $this;
  214.     }
  215.     public function getDateAdd(): \DateTime
  216.     {
  217.         return $this->dateAdd;
  218.     }
  219.     public function setDateAdd(\DateTime $dateAdd): CustomerStats
  220.     {
  221.         $this->dateAdd $dateAdd;
  222.         return $this;
  223.     }
  224. }