feat: add hintType and hintData columns to GameRow entity
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -29,6 +29,12 @@ class GameRow
|
||||
#[ORM\Column]
|
||||
private int $rowOrder;
|
||||
|
||||
#[ORM\Column(length: 20, nullable: true)]
|
||||
private ?string $hintType = null;
|
||||
|
||||
#[ORM\Column(length: 255, nullable: true)]
|
||||
private ?string $hintData = null;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
@@ -81,4 +87,28 @@ class GameRow
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getHintType(): ?string
|
||||
{
|
||||
return $this->hintType;
|
||||
}
|
||||
|
||||
public function setHintType(string $hintType): static
|
||||
{
|
||||
$this->hintType = $hintType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getHintData(): ?string
|
||||
{
|
||||
return $this->hintData;
|
||||
}
|
||||
|
||||
public function setHintData(string $hintData): static
|
||||
{
|
||||
$this->hintData = $hintData;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user