<?php
namespace App\Entity;
use App\Repository\GameInfoRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: GameInfoRepository::class)]
#[ORM\Index(name: 'search_idx', columns: ['name'])]
class GameInfo
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $startDate = null;
#[ORM\Column(length: 255)]
private ?string $notStarted = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $notStartedCN = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $endDate = null;
#[ORM\Column(length: 255)]
private ?string $gameEnd = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $gameEndCN = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $prizeRedeemEndDate = null;
#[ORM\Column(length: 300)]
private ?string $prizeRedeemEnd = null;
#[ORM\Column(length: 300, nullable: true)]
private ?string $prizeRedeemEndCN = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $tandc = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $tandcCN = null;
#[ORM\Column(length: 1024)]
private ?string $wechatAccessToken = null;
#[ORM\Column(length: 300)]
private ?string $jsapiTicket = null;
#[ORM\Column(length: 300)]
private ?string $sponsorWechatAccessToken = null;
#[ORM\Column(length: 300)]
private ?string $smsMessage = null;
#[ORM\Column(length: 300, nullable: true)]
private ?string $smsMessageChina = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $eventStartDate = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $reserveLink = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $officiallyWebsite = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $startGameLink = null;
#[ORM\Column]
private ?int $totalPoints = 0;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $tip1 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $tip2 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $tip3 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $tip4 = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $notStartedEN = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $gameEndEN = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $prizeRedeemEndEN = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $tandcEN = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $emailMessage = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $emailSubject = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $missionSurveyStartDate = null;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): static
{
$this->name = $name;
return $this;
}
public function getStartDate(): ?\DateTimeInterface
{
return $this->startDate;
}
public function setStartDate(\DateTimeInterface $startDate): static
{
$this->startDate = $startDate;
return $this;
}
public function getNotStarted(): ?string
{
return $this->notStarted;
}
public function setNotStarted(string $notStarted): static
{
$this->notStarted = $notStarted;
return $this;
}
public function getNotStartedCN(): ?string
{
return $this->notStartedCN;
}
public function setNotStartedCN(?string $notStartedCN): static
{
$this->notStartedCN = $notStartedCN;
return $this;
}
public function getEndDate(): ?\DateTimeInterface
{
return $this->endDate;
}
public function setEndDate(\DateTimeInterface $endDate): static
{
$this->endDate = $endDate;
return $this;
}
public function getGameEnd(): ?string
{
return $this->gameEnd;
}
public function setGameEnd(string $gameEnd): static
{
$this->gameEnd = $gameEnd;
return $this;
}
public function getGameEndCN(): ?string
{
return $this->gameEndCN;
}
public function setGameEndCN(?string $gameEndCN): static
{
$this->gameEndCN = $gameEndCN;
return $this;
}
public function getPrizeRedeemEndDate(): ?\DateTimeInterface
{
return $this->prizeRedeemEndDate;
}
public function setPrizeRedeemEndDate(\DateTimeInterface $prizeRedeemEndDate): static
{
$this->prizeRedeemEndDate = $prizeRedeemEndDate;
return $this;
}
public function getPrizeRedeemEnd(): ?string
{
return $this->prizeRedeemEnd;
}
public function setPrizeRedeemEnd(string $prizeRedeemEnd): static
{
$this->prizeRedeemEnd = $prizeRedeemEnd;
return $this;
}
public function getPrizeRedeemEndCN(): ?string
{
return $this->prizeRedeemEndCN;
}
public function setPrizeRedeemEndCN(?string $prizeRedeemEndCN): static
{
$this->prizeRedeemEndCN = $prizeRedeemEndCN;
return $this;
}
public function getTandc(): ?string
{
return $this->tandc;
}
public function setTandc(string $tandc): static
{
$this->tandc = $tandc;
return $this;
}
public function getTandcCN(): ?string
{
return $this->tandcCN;
}
public function setTandcCN(?string $tandcCN): static
{
$this->tandcCN = $tandcCN;
return $this;
}
public function getWechatAccessToken(): ?string
{
return $this->wechatAccessToken;
}
public function setWechatAccessToken(string $wechatAccessToken): static
{
$this->wechatAccessToken = $wechatAccessToken;
return $this;
}
public function getJsapiTicket(): ?string
{
return $this->jsapiTicket;
}
public function setJsapiTicket(string $jsapiTicket): static
{
$this->jsapiTicket = $jsapiTicket;
return $this;
}
public function getSponsorWechatAccessToken(): ?string
{
return $this->sponsorWechatAccessToken;
}
public function setSponsorWechatAccessToken(string $sponsorWechatAccessToken): static
{
$this->sponsorWechatAccessToken = $sponsorWechatAccessToken;
return $this;
}
public function getSmsMessage(): ?string
{
return $this->smsMessage;
}
public function setSmsMessage(string $smsMessage): static
{
$this->smsMessage = $smsMessage;
return $this;
}
public function getSmsMessageChina(): ?string
{
return $this->smsMessageChina;
}
public function setSmsMessageChina(?string $smsMessageChina): static
{
$this->smsMessageChina = $smsMessageChina;
return $this;
}
public function getEventStartDate(): ?\DateTimeInterface
{
return $this->eventStartDate;
}
public function setEventStartDate(?\DateTimeInterface $eventStartDate): static
{
$this->eventStartDate = $eventStartDate;
return $this;
}
public function getReserveLink(): ?string
{
return $this->reserveLink;
}
public function setReserveLink(?string $reserveLink): static
{
$this->reserveLink = $reserveLink;
return $this;
}
public function getOfficiallyWebsite(): ?string
{
return $this->officiallyWebsite;
}
public function setOfficiallyWebsite(?string $officiallyWebsite): static
{
$this->officiallyWebsite = $officiallyWebsite;
return $this;
}
public function getStartGameLink(): ?string
{
return $this->startGameLink;
}
public function setStartGameLink(?string $startGameLink): static
{
$this->startGameLink = $startGameLink;
return $this;
}
public function getTotalPoints(): ?int
{
return $this->totalPoints;
}
public function setTotalPoints(int $totalPoints): static
{
$this->totalPoints = $totalPoints;
return $this;
}
public function getTip1(): ?string
{
return $this->tip1;
}
public function setTip1(?string $tip1): static
{
$this->tip1 = $tip1;
return $this;
}
public function getTip2(): ?string
{
return $this->tip2;
}
public function setTip2(?string $tip2): static
{
$this->tip2 = $tip2;
return $this;
}
public function getTip3(): ?string
{
return $this->tip3;
}
public function setTip3(?string $tip3): static
{
$this->tip3 = $tip3;
return $this;
}
public function getTip4(): ?string
{
return $this->tip4;
}
public function setTip4(?string $tip4): static
{
$this->tip4 = $tip4;
return $this;
}
public function getNotStartedEN(): ?string
{
return $this->notStartedEN;
}
public function setNotStartedEN(?string $notStartedEN): static
{
$this->notStartedEN = $notStartedEN;
return $this;
}
public function getGameEndEN(): ?string
{
return $this->gameEndEN;
}
public function setGameEndEN(?string $gameEndEN): static
{
$this->gameEndEN = $gameEndEN;
return $this;
}
public function getPrizeRedeemEndEN(): ?string
{
return $this->prizeRedeemEndEN;
}
public function setPrizeRedeemEndEN(?string $prizeRedeemEndEN): static
{
$this->prizeRedeemEndEN = $prizeRedeemEndEN;
return $this;
}
public function getTandcEN(): ?string
{
return $this->tandcEN;
}
public function setTandcEN(?string $tandcEN): static
{
$this->tandcEN = $tandcEN;
return $this;
}
public function getEmailMessage(): ?string
{
return $this->emailMessage;
}
public function setEmailMessage(?string $emailMessage): static
{
$this->emailMessage = $emailMessage;
return $this;
}
public function getEmailSubject(): ?string
{
return $this->emailSubject;
}
public function setEmailSubject(?string $emailSubject): static
{
$this->emailSubject = $emailSubject;
return $this;
}
public function getMissionSurveyStartDate(): ?\DateTimeInterface
{
return $this->missionSurveyStartDate;
}
public function setMissionSurveyStartDate(?\DateTimeInterface $missionSurveyStartDate): static
{
$this->missionSurveyStartDate = $missionSurveyStartDate;
return $this;
}
}