src/Entity/GameInfo.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GameInfoRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClass: GameInfoRepository::class)]
  7. #[ORM\Index(name: 'search_idx', columns: ['name'])]
  8. class GameInfo
  9. {
  10. #[ORM\Id]
  11. #[ORM\GeneratedValue]
  12. #[ORM\Column]
  13. private ?int $id = null;
  14. #[ORM\Column(length: 255)]
  15. private ?string $name = null;
  16. #[ORM\Column(type: Types::DATETIME_MUTABLE)]
  17. private ?\DateTimeInterface $startDate = null;
  18. #[ORM\Column(length: 255)]
  19. private ?string $notStarted = null;
  20. #[ORM\Column(length: 255, nullable: true)]
  21. private ?string $notStartedCN = null;
  22. #[ORM\Column(type: Types::DATETIME_MUTABLE)]
  23. private ?\DateTimeInterface $endDate = null;
  24. #[ORM\Column(length: 255)]
  25. private ?string $gameEnd = null;
  26. #[ORM\Column(length: 255, nullable: true)]
  27. private ?string $gameEndCN = null;
  28. #[ORM\Column(type: Types::DATETIME_MUTABLE)]
  29. private ?\DateTimeInterface $prizeRedeemEndDate = null;
  30. #[ORM\Column(length: 300)]
  31. private ?string $prizeRedeemEnd = null;
  32. #[ORM\Column(length: 300, nullable: true)]
  33. private ?string $prizeRedeemEndCN = null;
  34. #[ORM\Column(type: Types::TEXT)]
  35. private ?string $tandc = null;
  36. #[ORM\Column(type: Types::TEXT, nullable: true)]
  37. private ?string $tandcCN = null;
  38. #[ORM\Column(length: 1024)]
  39. private ?string $wechatAccessToken = null;
  40. #[ORM\Column(length: 300)]
  41. private ?string $jsapiTicket = null;
  42. #[ORM\Column(length: 300)]
  43. private ?string $sponsorWechatAccessToken = null;
  44. #[ORM\Column(length: 300)]
  45. private ?string $smsMessage = null;
  46. #[ORM\Column(length: 300, nullable: true)]
  47. private ?string $smsMessageChina = null;
  48. #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  49. private ?\DateTimeInterface $eventStartDate = null;
  50. #[ORM\Column(length: 255, nullable: true)]
  51. private ?string $reserveLink = null;
  52. #[ORM\Column(length: 255, nullable: true)]
  53. private ?string $officiallyWebsite = null;
  54. #[ORM\Column(length: 255, nullable: true)]
  55. private ?string $startGameLink = null;
  56. #[ORM\Column]
  57. private ?int $totalPoints = 0;
  58. #[ORM\Column(type: Types::TEXT, nullable: true)]
  59. private ?string $tip1 = null;
  60. #[ORM\Column(type: Types::TEXT, nullable: true)]
  61. private ?string $tip2 = null;
  62. #[ORM\Column(type: Types::TEXT, nullable: true)]
  63. private ?string $tip3 = null;
  64. #[ORM\Column(type: Types::TEXT, nullable: true)]
  65. private ?string $tip4 = null;
  66. #[ORM\Column(length: 255, nullable: true)]
  67. private ?string $notStartedEN = null;
  68. #[ORM\Column(length: 255, nullable: true)]
  69. private ?string $gameEndEN = null;
  70. #[ORM\Column(length: 255, nullable: true)]
  71. private ?string $prizeRedeemEndEN = null;
  72. #[ORM\Column(type: Types::TEXT, nullable: true)]
  73. private ?string $tandcEN = null;
  74. #[ORM\Column(type: Types::TEXT, nullable: true)]
  75. private ?string $emailMessage = null;
  76. #[ORM\Column(type: Types::TEXT, nullable: true)]
  77. private ?string $emailSubject = null;
  78. #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  79. private ?\DateTimeInterface $missionSurveyStartDate = null;
  80. public function getId(): ?int
  81. {
  82. return $this->id;
  83. }
  84. public function getName(): ?string
  85. {
  86. return $this->name;
  87. }
  88. public function setName(string $name): static
  89. {
  90. $this->name = $name;
  91. return $this;
  92. }
  93. public function getStartDate(): ?\DateTimeInterface
  94. {
  95. return $this->startDate;
  96. }
  97. public function setStartDate(\DateTimeInterface $startDate): static
  98. {
  99. $this->startDate = $startDate;
  100. return $this;
  101. }
  102. public function getNotStarted(): ?string
  103. {
  104. return $this->notStarted;
  105. }
  106. public function setNotStarted(string $notStarted): static
  107. {
  108. $this->notStarted = $notStarted;
  109. return $this;
  110. }
  111. public function getNotStartedCN(): ?string
  112. {
  113. return $this->notStartedCN;
  114. }
  115. public function setNotStartedCN(?string $notStartedCN): static
  116. {
  117. $this->notStartedCN = $notStartedCN;
  118. return $this;
  119. }
  120. public function getEndDate(): ?\DateTimeInterface
  121. {
  122. return $this->endDate;
  123. }
  124. public function setEndDate(\DateTimeInterface $endDate): static
  125. {
  126. $this->endDate = $endDate;
  127. return $this;
  128. }
  129. public function getGameEnd(): ?string
  130. {
  131. return $this->gameEnd;
  132. }
  133. public function setGameEnd(string $gameEnd): static
  134. {
  135. $this->gameEnd = $gameEnd;
  136. return $this;
  137. }
  138. public function getGameEndCN(): ?string
  139. {
  140. return $this->gameEndCN;
  141. }
  142. public function setGameEndCN(?string $gameEndCN): static
  143. {
  144. $this->gameEndCN = $gameEndCN;
  145. return $this;
  146. }
  147. public function getPrizeRedeemEndDate(): ?\DateTimeInterface
  148. {
  149. return $this->prizeRedeemEndDate;
  150. }
  151. public function setPrizeRedeemEndDate(\DateTimeInterface $prizeRedeemEndDate): static
  152. {
  153. $this->prizeRedeemEndDate = $prizeRedeemEndDate;
  154. return $this;
  155. }
  156. public function getPrizeRedeemEnd(): ?string
  157. {
  158. return $this->prizeRedeemEnd;
  159. }
  160. public function setPrizeRedeemEnd(string $prizeRedeemEnd): static
  161. {
  162. $this->prizeRedeemEnd = $prizeRedeemEnd;
  163. return $this;
  164. }
  165. public function getPrizeRedeemEndCN(): ?string
  166. {
  167. return $this->prizeRedeemEndCN;
  168. }
  169. public function setPrizeRedeemEndCN(?string $prizeRedeemEndCN): static
  170. {
  171. $this->prizeRedeemEndCN = $prizeRedeemEndCN;
  172. return $this;
  173. }
  174. public function getTandc(): ?string
  175. {
  176. return $this->tandc;
  177. }
  178. public function setTandc(string $tandc): static
  179. {
  180. $this->tandc = $tandc;
  181. return $this;
  182. }
  183. public function getTandcCN(): ?string
  184. {
  185. return $this->tandcCN;
  186. }
  187. public function setTandcCN(?string $tandcCN): static
  188. {
  189. $this->tandcCN = $tandcCN;
  190. return $this;
  191. }
  192. public function getWechatAccessToken(): ?string
  193. {
  194. return $this->wechatAccessToken;
  195. }
  196. public function setWechatAccessToken(string $wechatAccessToken): static
  197. {
  198. $this->wechatAccessToken = $wechatAccessToken;
  199. return $this;
  200. }
  201. public function getJsapiTicket(): ?string
  202. {
  203. return $this->jsapiTicket;
  204. }
  205. public function setJsapiTicket(string $jsapiTicket): static
  206. {
  207. $this->jsapiTicket = $jsapiTicket;
  208. return $this;
  209. }
  210. public function getSponsorWechatAccessToken(): ?string
  211. {
  212. return $this->sponsorWechatAccessToken;
  213. }
  214. public function setSponsorWechatAccessToken(string $sponsorWechatAccessToken): static
  215. {
  216. $this->sponsorWechatAccessToken = $sponsorWechatAccessToken;
  217. return $this;
  218. }
  219. public function getSmsMessage(): ?string
  220. {
  221. return $this->smsMessage;
  222. }
  223. public function setSmsMessage(string $smsMessage): static
  224. {
  225. $this->smsMessage = $smsMessage;
  226. return $this;
  227. }
  228. public function getSmsMessageChina(): ?string
  229. {
  230. return $this->smsMessageChina;
  231. }
  232. public function setSmsMessageChina(?string $smsMessageChina): static
  233. {
  234. $this->smsMessageChina = $smsMessageChina;
  235. return $this;
  236. }
  237. public function getEventStartDate(): ?\DateTimeInterface
  238. {
  239. return $this->eventStartDate;
  240. }
  241. public function setEventStartDate(?\DateTimeInterface $eventStartDate): static
  242. {
  243. $this->eventStartDate = $eventStartDate;
  244. return $this;
  245. }
  246. public function getReserveLink(): ?string
  247. {
  248. return $this->reserveLink;
  249. }
  250. public function setReserveLink(?string $reserveLink): static
  251. {
  252. $this->reserveLink = $reserveLink;
  253. return $this;
  254. }
  255. public function getOfficiallyWebsite(): ?string
  256. {
  257. return $this->officiallyWebsite;
  258. }
  259. public function setOfficiallyWebsite(?string $officiallyWebsite): static
  260. {
  261. $this->officiallyWebsite = $officiallyWebsite;
  262. return $this;
  263. }
  264. public function getStartGameLink(): ?string
  265. {
  266. return $this->startGameLink;
  267. }
  268. public function setStartGameLink(?string $startGameLink): static
  269. {
  270. $this->startGameLink = $startGameLink;
  271. return $this;
  272. }
  273. public function getTotalPoints(): ?int
  274. {
  275. return $this->totalPoints;
  276. }
  277. public function setTotalPoints(int $totalPoints): static
  278. {
  279. $this->totalPoints = $totalPoints;
  280. return $this;
  281. }
  282. public function getTip1(): ?string
  283. {
  284. return $this->tip1;
  285. }
  286. public function setTip1(?string $tip1): static
  287. {
  288. $this->tip1 = $tip1;
  289. return $this;
  290. }
  291. public function getTip2(): ?string
  292. {
  293. return $this->tip2;
  294. }
  295. public function setTip2(?string $tip2): static
  296. {
  297. $this->tip2 = $tip2;
  298. return $this;
  299. }
  300. public function getTip3(): ?string
  301. {
  302. return $this->tip3;
  303. }
  304. public function setTip3(?string $tip3): static
  305. {
  306. $this->tip3 = $tip3;
  307. return $this;
  308. }
  309. public function getTip4(): ?string
  310. {
  311. return $this->tip4;
  312. }
  313. public function setTip4(?string $tip4): static
  314. {
  315. $this->tip4 = $tip4;
  316. return $this;
  317. }
  318. public function getNotStartedEN(): ?string
  319. {
  320. return $this->notStartedEN;
  321. }
  322. public function setNotStartedEN(?string $notStartedEN): static
  323. {
  324. $this->notStartedEN = $notStartedEN;
  325. return $this;
  326. }
  327. public function getGameEndEN(): ?string
  328. {
  329. return $this->gameEndEN;
  330. }
  331. public function setGameEndEN(?string $gameEndEN): static
  332. {
  333. $this->gameEndEN = $gameEndEN;
  334. return $this;
  335. }
  336. public function getPrizeRedeemEndEN(): ?string
  337. {
  338. return $this->prizeRedeemEndEN;
  339. }
  340. public function setPrizeRedeemEndEN(?string $prizeRedeemEndEN): static
  341. {
  342. $this->prizeRedeemEndEN = $prizeRedeemEndEN;
  343. return $this;
  344. }
  345. public function getTandcEN(): ?string
  346. {
  347. return $this->tandcEN;
  348. }
  349. public function setTandcEN(?string $tandcEN): static
  350. {
  351. $this->tandcEN = $tandcEN;
  352. return $this;
  353. }
  354. public function getEmailMessage(): ?string
  355. {
  356. return $this->emailMessage;
  357. }
  358. public function setEmailMessage(?string $emailMessage): static
  359. {
  360. $this->emailMessage = $emailMessage;
  361. return $this;
  362. }
  363. public function getEmailSubject(): ?string
  364. {
  365. return $this->emailSubject;
  366. }
  367. public function setEmailSubject(?string $emailSubject): static
  368. {
  369. $this->emailSubject = $emailSubject;
  370. return $this;
  371. }
  372. public function getMissionSurveyStartDate(): ?\DateTimeInterface
  373. {
  374. return $this->missionSurveyStartDate;
  375. }
  376. public function setMissionSurveyStartDate(?\DateTimeInterface $missionSurveyStartDate): static
  377. {
  378. $this->missionSurveyStartDate = $missionSurveyStartDate;
  379. return $this;
  380. }
  381. }