* * @ORM\Entity(repositoryClass="App\Repository\StepRepository") */ class Step { /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @var int|null * * @ORM\Column(name="row", length=3, type="integer", nullable=false) */ private $row; /** * @var int|null * * @ORM\Column(name="col", length=3, type="integer", nullable=false) */ private $col; /** * @var boolean|null * * @ORM\Column(name="wbomb", type="boolean", nullable=true) */ private $wBomb; /** * @var PlayedGame|null * * @ORM\ManyToOne(targetEntity="App\Entity\PlayedGame", inversedBy="step") */ private $playedGame; /** * @var \DateTime|null * * @ORM\Column(name="created", type="datetime", nullable=true) */ private $created; public function getId(): ?int { return $this->id; } /** * @return int|null */ public function getRow(): ?int { return $this->row; } /** * @param int|null $row */ public function setRow(?int $row): void { $this->row = $row; } /** * @return int|null */ public function getCol(): ?int { return $this->col; } /** * @param int|null $col */ public function setCol(?int $col): void { $this->col = $col; } /** * @return bool|null */ public function getWBomb(): ?bool { return $this->wBomb; } /** * @param bool|null $wBomb */ public function setWBomb(?bool $wBomb): void { $this->wBomb = $wBomb; } /** * @return PlayedGame|null */ public function getPlayedGame(): ?PlayedGame { return $this->playedGame; } /** * @param PlayedGame|null $playedGame */ public function setPlayedGame(?PlayedGame $playedGame): void { $this->playedGame = $playedGame; } /** * @return \DateTime|null */ public function getCreated(): ?\DateTime { return $this->created; } /** * @param \DateTime|null $created */ public function setCreated(?\DateTime $created): void { $this->created = $created; } }