src/Entity/Report/CustomerSeoData.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Report;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Table(name="customer_seo_data", indexes={
  6. *
  7. * @ORM\Index(name="id_customer", columns={"id_customer"})
  8. * })
  9. *
  10. * @ORM\Entity(repositoryClass="App\Repository\Report\CustomerSeoDataRepository")
  11. */
  12. class CustomerSeoData
  13. {
  14. /**
  15. * @ORM\Id
  16. *
  17. * @ORM\GeneratedValue(strategy="AUTO")
  18. *
  19. * @ORM\Column(type="integer")
  20. */
  21. private int $id;
  22. /**
  23. * @ORM\Column(type="integer", nullable=false, name="id_customer", unique=true)
  24. */
  25. private int $customerId;
  26. /**
  27. * @ORM\Column(type="text", nullable=true, name="url_referer")
  28. */
  29. private string $refererUrl;
  30. /**
  31. * @ORM\Column(name="gadw_keyword", type="string", nullable=true, length=40)
  32. */
  33. private ?string $keyword;
  34. /**
  35. * @ORM\Column(name="gadw_matchtype", type="string", nullable=true, length=40)
  36. */
  37. private ?string $gadwMatchtype;
  38. /**
  39. * @ORM\Column(name="gadw_network", type="string", nullable=true, length=40)
  40. */
  41. private ?string $gadwNetwork;
  42. /**
  43. * @ORM\Column (type="datetime", name="date_customer_stats_upd")
  44. */
  45. private \DateTime $dateCustomerStatsUpdated;
  46. /**
  47. * @ORM\Column(type="string", nullable=true, length=120)
  48. */
  49. private ?string $type;
  50. /**
  51. * @ORM\Column(type="string", length=40, nullable=true)
  52. */
  53. private ?string $utmSource;
  54. /**
  55. * @ORM\Column(type="string", length=40, nullable=true)
  56. */
  57. private ?string $utmMedium;
  58. /**
  59. * @ORM\Column(type="string", length=40, nullable=true)
  60. */
  61. private ?string $utmCampaign;
  62. /**
  63. * @ORM\Column(type="string", length=3, nullable=true)
  64. */
  65. private ?string $country;
  66. /**
  67. * @ORM\Column(type="string", length=2, nullable=true)
  68. */
  69. private ?string $language;
  70. /**
  71. * @ORM\Column(type="string", nullable=true)
  72. */
  73. public ?string $gcLid;
  74. /**
  75. * @ORM\Column(type="string", nullable=true)
  76. */
  77. public ?string $fbLid;
  78. /**
  79. * @ORM\Column(name="utm_id", type="string", nullable=true, length=40)
  80. */
  81. private ?string $utmId = null;
  82. /**
  83. * @ORM\Column(name="utm_content", type="string", nullable=true, length=40)
  84. */
  85. private ?string $utmContent = null;
  86. /**
  87. * @return int
  88. */
  89. public function getId(): int
  90. {
  91. return $this->id;
  92. }
  93. /**
  94. * @return string|null
  95. */
  96. public function getRefererUrl(): ?string
  97. {
  98. return $this->refererUrl;
  99. }
  100. /**
  101. * @return string|null
  102. */
  103. public function getUtmMedium(): ?string
  104. {
  105. return $this->utmMedium;
  106. }
  107. /**
  108. * @return string|null
  109. */
  110. public function getUtmCampaign(): ?string
  111. {
  112. return $this->utmCampaign;
  113. }
  114. /**
  115. * @return string|null
  116. */
  117. public function getKeyword(): ?string
  118. {
  119. return $this->keyword;
  120. }
  121. /**
  122. * @return string|null
  123. */
  124. public function getType(): ?string
  125. {
  126. return $this->type;
  127. }
  128. public function setCustomerId(?int $customerId): CustomerSeoData
  129. {
  130. $this->customerId = $customerId;
  131. return $this;
  132. }
  133. public function setRefererUrl(?string $refererUrl): CustomerSeoData
  134. {
  135. $this->refererUrl = $refererUrl;
  136. return $this;
  137. }
  138. public function setKeyword(?string $keyword): CustomerSeoData
  139. {
  140. $this->keyword = $keyword;
  141. return $this;
  142. }
  143. public function setDateCustomerStatsUpdated(\DateTime $dateCustomerStatsUpdated): CustomerSeoData
  144. {
  145. $this->dateCustomerStatsUpdated = $dateCustomerStatsUpdated;
  146. return $this;
  147. }
  148. public function setType(?string $type): CustomerSeoData
  149. {
  150. $this->type = $type;
  151. return $this;
  152. }
  153. public function setUtmSource(?string $utmSource): CustomerSeoData
  154. {
  155. $this->utmSource = $utmSource;
  156. return $this;
  157. }
  158. public function setUtmMedium(?string $utmMedium): CustomerSeoData
  159. {
  160. $this->utmMedium = $utmMedium;
  161. return $this;
  162. }
  163. public function setUtmCampaign(?string $utmCampaign): CustomerSeoData
  164. {
  165. $this->utmCampaign = $utmCampaign;
  166. return $this;
  167. }
  168. public function getCustomerId(): ?int
  169. {
  170. return $this->customerId;
  171. }
  172. public function getGadwMatchtype(): ?string
  173. {
  174. return $this->gadwMatchtype;
  175. }
  176. public function getGadwNetwork(): ?string
  177. {
  178. return $this->gadwNetwork;
  179. }
  180. public function getDateCustomerStatsUpdated(): \DateTime
  181. {
  182. return $this->dateCustomerStatsUpdated;
  183. }
  184. public function getUtmSource(): ?string
  185. {
  186. return $this->utmSource;
  187. }
  188. public function setGadwMatchtype(?string $gadwMatchtype): CustomerSeoData
  189. {
  190. $this->gadwMatchtype = $gadwMatchtype;
  191. return $this;
  192. }
  193. public function setGadwNetwork(?string $gadwNetwork): CustomerSeoData
  194. {
  195. $this->gadwNetwork = $gadwNetwork;
  196. return $this;
  197. }
  198. public function getCountry(): ?string
  199. {
  200. return $this->country;
  201. }
  202. public function setCountry(?string $country): CustomerSeoData
  203. {
  204. $this->country = $country;
  205. return $this;
  206. }
  207. public function getLanguage(): ?string
  208. {
  209. return $this->language;
  210. }
  211. public function setLanguage(?string $language): CustomerSeoData
  212. {
  213. $this->language = $language;
  214. return $this;
  215. }
  216. public function getGcLid(): ?string
  217. {
  218. return $this->gcLid;
  219. }
  220. public function setGcLid(?string $gcLid): CustomerSeoData
  221. {
  222. $this->gcLid = $gcLid;
  223. return $this;
  224. }
  225. public function getFbLid(): ?string
  226. {
  227. return $this->fbLid;
  228. }
  229. public function setFbLid(?string $fbLid): CustomerSeoData
  230. {
  231. $this->fbLid = $fbLid;
  232. return $this;
  233. }
  234. public function getUtmId(): ?string
  235. {
  236. return $this->utmId;
  237. }
  238. public function setUtmId(?string $utmId): CustomerSeoData
  239. {
  240. $this->utmId = $utmId;
  241. return $this;
  242. }
  243. public function getUtmContent(): ?string
  244. {
  245. return $this->utmContent;
  246. }
  247. public function setUtmContent(?string $utmContent): CustomerSeoData
  248. {
  249. $this->utmContent = $utmContent;
  250. return $this;
  251. }
  252. }