src/CasinoBundle/Entity/SeoStat.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\CasinoBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Game
  6.  *
  7.  * @ORM\Table(name="casino_seo_stat")
  8.  * @ORM\Entity(repositoryClass="App\CasinoBundle\Repository\SeoStatRepository")
  9.  * @ORM\Cache(usage="NONSTRICT_READ_WRITE", region="one_day")
  10.  */
  11. class SeoStat
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue()
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var int
  23.      *
  24.      * @ORM\Column(name="total_last_month_visits", type="integer", nullable=true)
  25.      */
  26.     private $totalLastMonthVisits;
  27.     /**
  28.      * @ORM\OneToOne(targetEntity="App\CasinoBundle\Entity\Casino", inversedBy="seostat")
  29.      * @ORM\JoinColumn(nullable=false)
  30.      */
  31.     private $casino;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(type="string", length=255, nullable=true)
  36.      */
  37.     private $timeOnSite;
  38.     /**
  39.      * @var float
  40.      *
  41.      * @ORM\Column(type="float", nullable=true)
  42.      */
  43.     private $pageViews;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(type="string", length=255, nullable=true)
  48.      */
  49.     private $bounceRate;
  50.     /**
  51.      * @var float
  52.      *
  53.      * @ORM\Column(type="float", nullable=true)
  54.      */
  55.     private $totalRelativeChange;
  56.     /**
  57.      * @var integer
  58.      *
  59.      * @ORM\Column(type="integer", nullable=true)
  60.      */
  61.     private $keywords;
  62.     /**
  63.      * @return int
  64.      */
  65.     public function getId(): int
  66.     {
  67.         return $this->id;
  68.     }
  69.     public function setId(int $id): void
  70.     {
  71.         $this->id $id;
  72.     }
  73.     public function getTotalLastMonthVisits(): ?int
  74.     {
  75.         return $this->totalLastMonthVisits;
  76.     }
  77.     public function setTotalLastMonthVisits(?int $totalLastMonthVisits): self
  78.     {
  79.         $this->totalLastMonthVisits $totalLastMonthVisits;
  80.         return $this;
  81.     }
  82.     public function getTimeOnSite(): ?string
  83.     {
  84.         return $this->timeOnSite;
  85.     }
  86.     public function setTimeOnSite(?string $timeOnSite): self
  87.     {
  88.         $this->timeOnSite $timeOnSite;
  89.         return $this;
  90.     }
  91.     public function getPageViews(): ?float
  92.     {
  93.         return $this->pageViews;
  94.     }
  95.     public function setPageViews(?float $pageViews): self
  96.     {
  97.         $this->pageViews $pageViews;
  98.         return $this;
  99.     }
  100.     public function getBounceRate(): ?string
  101.     {
  102.         return $this->bounceRate;
  103.     }
  104.     public function setBounceRate(?string $bounceRate): self
  105.     {
  106.         $this->bounceRate $bounceRate;
  107.         return $this;
  108.     }
  109.     public function getTotalRelativeChange(): ?float
  110.     {
  111.         return $this->totalRelativeChange;
  112.     }
  113.     public function setTotalRelativeChange(?float $totalRelativeChange): self
  114.     {
  115.         $this->totalRelativeChange $totalRelativeChange;
  116.         return $this;
  117.     }
  118.     public function getKeywords(): ?int
  119.     {
  120.         return $this->keywords;
  121.     }
  122.     public function setKeywords(?int $keywords): self
  123.     {
  124.         $this->keywords $keywords;
  125.         return $this;
  126.     }
  127.     public function getCasino(): ?Casino
  128.     {
  129.         return $this->casino;
  130.     }
  131.     public function setCasino(?Casino $casino): self
  132.     {
  133.         $this->casino $casino;
  134.         return $this;
  135.     }
  136. }