* @category Class * @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License * @link www.splendidbear.org * @since 2026. 04. 09. */ #[Entity(repositoryClass: StepRepository::class)] class Step { #[Id, GeneratedValue, Column] private ?int $id = null; #[Column(length: 3)] private ?int $row = null; #[Column(length: 3)] private ?int $col = null; #[Column(nullable: true)] private ?bool $wBomb = null; #[ManyToOne(inversedBy: 'step')] private ?PlayedGame $playedGame = null; #[Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?DateTime $created = null; public function getId(): ?int { return $this->id; } public function getRow(): ?int { return $this->row; } public function setRow(?int $row): void { $this->row = $row; } public function getCol(): ?int { return $this->col; } public function setCol(?int $col): void { $this->col = $col; } public function getWBomb(): ?bool { return $this->wBomb; } public function setWBomb(?bool $wBomb): void { $this->wBomb = $wBomb; } public function getPlayedGame(): ?PlayedGame { return $this->playedGame; } public function setPlayedGame(?PlayedGame $playedGame): void { $this->playedGame = $playedGame; } public function getCreated(): ?DateTime { return $this->created; } public function setCreated(?DateTime $created): void { $this->created = $created; } }