src/Entity/GameInfo.php line 10

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. class GameInfo
  8. {
  9. #[ORM\Id]
  10. #[ORM\GeneratedValue]
  11. #[ORM\Column]
  12. private ?int $id = null;
  13. #[ORM\Column(length: 255)]
  14. private ?string $name = null;
  15. #[ORM\Column(type: Types::DATETIME_MUTABLE)]
  16. private ?\DateTimeInterface $startDate = null;
  17. #[ORM\Column(length: 255)]
  18. private ?string $notStarted = null;
  19. #[ORM\Column(length: 255, nullable: true)]
  20. private ?string $notStartedCN = null;
  21. #[ORM\Column(type: Types::DATETIME_MUTABLE)]
  22. private ?\DateTimeInterface $endDate = null;
  23. #[ORM\Column(length: 255)]
  24. private ?string $gameEnd = null;
  25. #[ORM\Column(length: 255, nullable: true)]
  26. private ?string $gameEndCN = null;
  27. #[ORM\Column(type: Types::DATETIME_MUTABLE)]
  28. private ?\DateTimeInterface $prizeRedeemEndDate = null;
  29. #[ORM\Column(length: 300)]
  30. private ?string $prizeRedeemEnd = null;
  31. #[ORM\Column(length: 300, nullable: true)]
  32. private ?string $prizeRedeemEndCN = null;
  33. #[ORM\Column(type: Types::TEXT)]
  34. private ?string $tandc = null;
  35. #[ORM\Column(type: Types::TEXT, nullable: true)]
  36. private ?string $tandcCN = null;
  37. #[ORM\Column(length: 300)]
  38. private ?string $wechatAccessToken = null;
  39. #[ORM\Column(length: 300)]
  40. private ?string $jsapiTicket = null;
  41. #[ORM\Column(length: 300)]
  42. private ?string $sponsorWechatAccessToken = null;
  43. #[ORM\Column(length: 300)]
  44. private ?string $smsMessage = null;
  45. #[ORM\Column(length: 300, nullable: true)]
  46. private ?string $smsMessageChina = null;
  47. #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  48. private ?\DateTimeInterface $eventStartDate = null;
  49. #[ORM\Column(length: 255, nullable: true)]
  50. private ?string $reserveLink = null;
  51. #[ORM\Column(length: 255, nullable: true)]
  52. private ?string $officiallyWebsite = null;
  53. #[ORM\Column(length: 255, nullable: true)]
  54. private ?string $startGameLink = null;
  55. #[ORM\Column]
  56. private ?int $totalPoints = 0;
  57. #[ORM\Column(type: Types::TEXT, nullable: true)]
  58. private ?string $tip1 = null;
  59. #[ORM\Column(type: Types::TEXT, nullable: true)]
  60. private ?string $tip2 = null;
  61. #[ORM\Column(type: Types::TEXT, nullable: true)]
  62. private ?string $tip3 = null;
  63. #[ORM\Column(type: Types::TEXT, nullable: true)]
  64. private ?string $tip4 = null;
  65. public function getId(): ?int
  66. {
  67. return $this->id;
  68. }
  69. public function getName(): ?string
  70. {
  71. return $this->name;
  72. }
  73. public function setName(string $name): static
  74. {
  75. $this->name = $name;
  76. return $this;
  77. }
  78. public function getStartDate(): ?\DateTimeInterface
  79. {
  80. return $this->startDate;
  81. }
  82. public function setStartDate(\DateTimeInterface $startDate): static
  83. {
  84. $this->startDate = $startDate;
  85. return $this;
  86. }
  87. public function getNotStarted(): ?string
  88. {
  89. return $this->notStarted;
  90. }
  91. public function setNotStarted(string $notStarted): static
  92. {
  93. $this->notStarted = $notStarted;
  94. return $this;
  95. }
  96. public function getNotStartedCN(): ?string
  97. {
  98. return $this->notStartedCN;
  99. }
  100. public function setNotStartedCN(?string $notStartedCN): static
  101. {
  102. $this->notStartedCN = $notStartedCN;
  103. return $this;
  104. }
  105. public function getEndDate(): ?\DateTimeInterface
  106. {
  107. return $this->endDate;
  108. }
  109. public function setEndDate(\DateTimeInterface $endDate): static
  110. {
  111. $this->endDate = $endDate;
  112. return $this;
  113. }
  114. public function getGameEnd(): ?string
  115. {
  116. return $this->gameEnd;
  117. }
  118. public function setGameEnd(string $gameEnd): static
  119. {
  120. $this->gameEnd = $gameEnd;
  121. return $this;
  122. }
  123. public function getGameEndCN(): ?string
  124. {
  125. return $this->gameEndCN;
  126. }
  127. public function setGameEndCN(?string $gameEndCN): static
  128. {
  129. $this->gameEndCN = $gameEndCN;
  130. return $this;
  131. }
  132. public function getPrizeRedeemEndDate(): ?\DateTimeInterface
  133. {
  134. return $this->prizeRedeemEndDate;
  135. }
  136. public function setPrizeRedeemEndDate(\DateTimeInterface $prizeRedeemEndDate): static
  137. {
  138. $this->prizeRedeemEndDate = $prizeRedeemEndDate;
  139. return $this;
  140. }
  141. public function getPrizeRedeemEnd(): ?string
  142. {
  143. return $this->prizeRedeemEnd;
  144. }
  145. public function setPrizeRedeemEnd(string $prizeRedeemEnd): static
  146. {
  147. $this->prizeRedeemEnd = $prizeRedeemEnd;
  148. return $this;
  149. }
  150. public function getPrizeRedeemEndCN(): ?string
  151. {
  152. return $this->prizeRedeemEndCN;
  153. }
  154. public function setPrizeRedeemEndCN(?string $prizeRedeemEndCN): static
  155. {
  156. $this->prizeRedeemEndCN = $prizeRedeemEndCN;
  157. return $this;
  158. }
  159. public function getTandc(): ?string
  160. {
  161. return $this->tandc;
  162. }
  163. public function setTandc(string $tandc): static
  164. {
  165. $this->tandc = $tandc;
  166. return $this;
  167. }
  168. public function getTandcCN(): ?string
  169. {
  170. return $this->tandcCN;
  171. }
  172. public function setTandcCN(?string $tandcCN): static
  173. {
  174. $this->tandcCN = $tandcCN;
  175. return $this;
  176. }
  177. public function getWechatAccessToken(): ?string
  178. {
  179. return $this->wechatAccessToken;
  180. }
  181. public function setWechatAccessToken(string $wechatAccessToken): static
  182. {
  183. $this->wechatAccessToken = $wechatAccessToken;
  184. return $this;
  185. }
  186. public function getJsapiTicket(): ?string
  187. {
  188. return $this->jsapiTicket;
  189. }
  190. public function setJsapiTicket(string $jsapiTicket): static
  191. {
  192. $this->jsapiTicket = $jsapiTicket;
  193. return $this;
  194. }
  195. public function getSponsorWechatAccessToken(): ?string
  196. {
  197. return $this->sponsorWechatAccessToken;
  198. }
  199. public function setSponsorWechatAccessToken(string $sponsorWechatAccessToken): static
  200. {
  201. $this->sponsorWechatAccessToken = $sponsorWechatAccessToken;
  202. return $this;
  203. }
  204. public function getSmsMessage(): ?string
  205. {
  206. return $this->smsMessage;
  207. }
  208. public function setSmsMessage(string $smsMessage): static
  209. {
  210. $this->smsMessage = $smsMessage;
  211. return $this;
  212. }
  213. public function getSmsMessageChina(): ?string
  214. {
  215. return $this->smsMessageChina;
  216. }
  217. public function setSmsMessageChina(?string $smsMessageChina): static
  218. {
  219. $this->smsMessageChina = $smsMessageChina;
  220. return $this;
  221. }
  222. public function getEventStartDate(): ?\DateTimeInterface
  223. {
  224. return $this->eventStartDate;
  225. }
  226. public function setEventStartDate(?\DateTimeInterface $eventStartDate): static
  227. {
  228. $this->eventStartDate = $eventStartDate;
  229. return $this;
  230. }
  231. public function getReserveLink(): ?string
  232. {
  233. return $this->reserveLink;
  234. }
  235. public function setReserveLink(?string $reserveLink): static
  236. {
  237. $this->reserveLink = $reserveLink;
  238. return $this;
  239. }
  240. public function getOfficiallyWebsite(): ?string
  241. {
  242. return $this->officiallyWebsite;
  243. }
  244. public function setOfficiallyWebsite(?string $officiallyWebsite): static
  245. {
  246. $this->officiallyWebsite = $officiallyWebsite;
  247. return $this;
  248. }
  249. public function getStartGameLink(): ?string
  250. {
  251. return $this->startGameLink;
  252. }
  253. public function setStartGameLink(?string $startGameLink): static
  254. {
  255. $this->startGameLink = $startGameLink;
  256. return $this;
  257. }
  258. public function getTotalPoints(): ?int
  259. {
  260. return $this->totalPoints;
  261. }
  262. public function setTotalPoints(int $totalPoints): static
  263. {
  264. $this->totalPoints = $totalPoints;
  265. return $this;
  266. }
  267. public function getTip1(): ?string
  268. {
  269. return $this->tip1;
  270. }
  271. public function setTip1(?string $tip1): static
  272. {
  273. $this->tip1 = $tip1;
  274. return $this;
  275. }
  276. public function getTip2(): ?string
  277. {
  278. return $this->tip2;
  279. }
  280. public function setTip2(?string $tip2): static
  281. {
  282. $this->tip2 = $tip2;
  283. return $this;
  284. }
  285. public function getTip3(): ?string
  286. {
  287. return $this->tip3;
  288. }
  289. public function setTip3(?string $tip3): static
  290. {
  291. $this->tip3 = $tip3;
  292. return $this;
  293. }
  294. public function getTip4(): ?string
  295. {
  296. return $this->tip4;
  297. }
  298. public function setTip4(?string $tip4): static
  299. {
  300. $this->tip4 = $tip4;
  301. return $this;
  302. }
  303. }