<?php
namespace App\CasinoBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Game
*
* @ORM\Table(name="casino_seo_stat")
* @ORM\Entity(repositoryClass="App\CasinoBundle\Repository\SeoStatRepository")
* @ORM\Cache(usage="NONSTRICT_READ_WRITE", region="one_day")
*/
class SeoStat
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="total_last_month_visits", type="integer", nullable=true)
*/
private $totalLastMonthVisits;
/**
* @ORM\OneToOne(targetEntity="App\CasinoBundle\Entity\Casino", inversedBy="seostat")
* @ORM\JoinColumn(nullable=false)
*/
private $casino;
/**
* @var string
*
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $timeOnSite;
/**
* @var float
*
* @ORM\Column(type="float", nullable=true)
*/
private $pageViews;
/**
* @var string
*
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $bounceRate;
/**
* @var float
*
* @ORM\Column(type="float", nullable=true)
*/
private $totalRelativeChange;
/**
* @var integer
*
* @ORM\Column(type="integer", nullable=true)
*/
private $keywords;
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
public function setId(int $id): void
{
$this->id = $id;
}
public function getTotalLastMonthVisits(): ?int
{
return $this->totalLastMonthVisits;
}
public function setTotalLastMonthVisits(?int $totalLastMonthVisits): self
{
$this->totalLastMonthVisits = $totalLastMonthVisits;
return $this;
}
public function getTimeOnSite(): ?string
{
return $this->timeOnSite;
}
public function setTimeOnSite(?string $timeOnSite): self
{
$this->timeOnSite = $timeOnSite;
return $this;
}
public function getPageViews(): ?float
{
return $this->pageViews;
}
public function setPageViews(?float $pageViews): self
{
$this->pageViews = $pageViews;
return $this;
}
public function getBounceRate(): ?string
{
return $this->bounceRate;
}
public function setBounceRate(?string $bounceRate): self
{
$this->bounceRate = $bounceRate;
return $this;
}
public function getTotalRelativeChange(): ?float
{
return $this->totalRelativeChange;
}
public function setTotalRelativeChange(?float $totalRelativeChange): self
{
$this->totalRelativeChange = $totalRelativeChange;
return $this;
}
public function getKeywords(): ?int
{
return $this->keywords;
}
public function setKeywords(?int $keywords): self
{
$this->keywords = $keywords;
return $this;
}
public function getCasino(): ?Casino
{
return $this->casino;
}
public function setCasino(?Casino $casino): self
{
$this->casino = $casino;
return $this;
}
}