src/Entity/Tune/AdvertiserInfo.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Tune;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass="App\Repository\AdvertiserInfoRepository")
  7. * @ORM\Table(indexes={@ORM\Index(name="advertiserId", columns={"advertiser_id"})})
  8. */
  9. class AdvertiserInfo
  10. {
  11. /**
  12. * @ORM\Column(type="integer")
  13. * @ORM\Id
  14. * @ORM\GeneratedValue(strategy="AUTO")
  15. */
  16. private $id;
  17. /**
  18. * @ORM\Column(type="string", nullable=false)
  19. */
  20. private $tuneAccount;
  21. /**
  22. * @ORM\Column(type="integer", nullable=false)
  23. */
  24. private $advertiserId;
  25. /**
  26. * @ORM\Column(type="string", nullable=false)
  27. */
  28. private $company;
  29. /**
  30. * @ORM\Column(type="integer", nullable=true)
  31. */
  32. private $accountManagerId;
  33. /**
  34. * @ORM\Column(type="string", nullable=false)
  35. */
  36. private $status;
  37. /**
  38. * @ORM\Column(type="boolean", nullable=true, options={"default"=false})
  39. */
  40. private $skadNetworkFlag;
  41. /**
  42. * @ORM\Column(type="string", nullable=true)
  43. */
  44. private $skadNetworkId;
  45. /**
  46. * @ORM\Column(type="string", nullable=true)
  47. */
  48. private $skadNetworkPrivateKey;
  49. /**
  50. * @ORM\Column(type="string", nullable=true)
  51. */
  52. private $discountType;
  53. /**
  54. * @ORM\Column(type="integer", nullable=true)
  55. */
  56. private $discountValue;
  57. /**
  58. * @ORM\Column(type="datetime")
  59. */
  60. private $dateUpdated;
  61. /**
  62. * @ORM\Column(type="datetime")
  63. */
  64. private $dateInserted;
  65. /**
  66. * Get id.
  67. *
  68. * @return int
  69. */
  70. public function getId()
  71. {
  72. return $this->id;
  73. }
  74. /**
  75. * Set advertiserId.
  76. *
  77. * @param int $advertiserId
  78. *
  79. * @return AdvertiserInfo
  80. */
  81. public function setAdvertiserId($advertiserId)
  82. {
  83. $this->advertiserId = $advertiserId;
  84. return $this;
  85. }
  86. /**
  87. * Get advertiserId.
  88. *
  89. * @return int
  90. */
  91. public function getAdvertiserId()
  92. {
  93. return $this->advertiserId;
  94. }
  95. /**
  96. * Set company.
  97. *
  98. * @param string $company
  99. *
  100. * @return AdvertiserInfo
  101. */
  102. public function setCompany($company)
  103. {
  104. $this->company = $company;
  105. return $this;
  106. }
  107. /**
  108. * Get company.
  109. *
  110. * @return string
  111. */
  112. public function getCompany()
  113. {
  114. return $this->company;
  115. }
  116. /**
  117. * Set accountManagerId.
  118. *
  119. * @param int $accountManagerId
  120. *
  121. * @return AdvertiserInfo
  122. */
  123. public function setAccountManagerId($accountManagerId)
  124. {
  125. $this->accountManagerId = $accountManagerId;
  126. return $this;
  127. }
  128. /**
  129. * Get accountManagerId.
  130. *
  131. * @return int
  132. */
  133. public function getAccountManagerId()
  134. {
  135. return $this->accountManagerId;
  136. }
  137. /**
  138. * Set status.
  139. *
  140. * @param string $status
  141. *
  142. * @return AdvertiserInfo
  143. */
  144. public function setStatus($status)
  145. {
  146. $this->status = $status;
  147. return $this;
  148. }
  149. /**
  150. * Get status.
  151. *
  152. * @return string
  153. */
  154. public function getStatus()
  155. {
  156. return $this->status;
  157. }
  158. /**
  159. * Set dateUpdated.
  160. *
  161. * @param \DateTime $dateUpdated
  162. *
  163. * @return AdvertiserInfo
  164. */
  165. public function setDateUpdated($dateUpdated)
  166. {
  167. $this->dateUpdated = $dateUpdated;
  168. return $this;
  169. }
  170. /**
  171. * Get dateUpdated.
  172. *
  173. * @return \DateTime
  174. */
  175. public function getDateUpdated()
  176. {
  177. return $this->dateUpdated;
  178. }
  179. /**
  180. * Set dateInserted.
  181. *
  182. * @param \DateTime $dateInserted
  183. *
  184. * @return AdvertiserInfo
  185. */
  186. public function setDateInserted($dateInserted)
  187. {
  188. $this->dateInserted = $dateInserted;
  189. return $this;
  190. }
  191. /**
  192. * Get dateInserted.
  193. *
  194. * @return \DateTime
  195. */
  196. public function getDateInserted()
  197. {
  198. return $this->dateInserted;
  199. }
  200. /**
  201. * Set skadNetworkFlag.
  202. *
  203. * @param bool|null $skadNetworkFlag
  204. *
  205. * @return AdvertiserInfo
  206. */
  207. public function setSkadNetworkFlag($skadNetworkFlag = null)
  208. {
  209. $this->skadNetworkFlag = $skadNetworkFlag;
  210. return $this;
  211. }
  212. /**
  213. * Get skadNetworkFlag.
  214. *
  215. * @return bool|null
  216. */
  217. public function getSkadNetworkFlag()
  218. {
  219. return $this->skadNetworkFlag;
  220. }
  221. /**
  222. * Set skadNetworkId.
  223. *
  224. * @param string|null $skadNetworkId
  225. *
  226. * @return AdvertiserInfo
  227. */
  228. public function setSkadNetworkId($skadNetworkId = null)
  229. {
  230. $this->skadNetworkId = $skadNetworkId;
  231. return $this;
  232. }
  233. /**
  234. * Get skadNetworkId.
  235. *
  236. * @return string|null
  237. */
  238. public function getSkadNetworkId()
  239. {
  240. return $this->skadNetworkId;
  241. }
  242. /**
  243. * Set skadNetworkPrivateKey.
  244. *
  245. * @param string|null $skadNetworkPrivateKey
  246. *
  247. * @return AdvertiserInfo
  248. */
  249. public function setSkadNetworkPrivateKey($skadNetworkPrivateKey = null)
  250. {
  251. $this->skadNetworkPrivateKey = $skadNetworkPrivateKey;
  252. return $this;
  253. }
  254. /**
  255. * Get skadNetworkPrivateKey.
  256. *
  257. * @return string|null
  258. */
  259. public function getSkadNetworkPrivateKey()
  260. {
  261. return $this->skadNetworkPrivateKey;
  262. }
  263. public function isSkadNetworkFlag(): ?bool
  264. {
  265. return $this->skadNetworkFlag;
  266. }
  267. public function getDiscountType(): ?string
  268. {
  269. return $this->discountType;
  270. }
  271. public function setDiscountType(?string $discountType): static
  272. {
  273. $this->discountType = $discountType;
  274. return $this;
  275. }
  276. public function getDiscountValue()
  277. {
  278. return $this->discountValue;
  279. }
  280. public function setDiscountValue($discountValue): static
  281. {
  282. $this->discountValue = $discountValue;
  283. return $this;
  284. }
  285. public function getTuneAccount(): ?string
  286. {
  287. return $this->tuneAccount;
  288. }
  289. public function setTuneAccount(string $tuneAccount): static
  290. {
  291. $this->tuneAccount = $tuneAccount;
  292. return $this;
  293. }
  294. }