implement poster position settings #18

This commit is contained in:
ghost 2023-10-31 02:06:58 +02:00
parent cfeeabee72
commit 5c76a17df5
23 changed files with 342 additions and 29 deletions

View file

@ -28,6 +28,9 @@ class TorrentPoster
#[ORM\Column(length: 32)]
private ?string $md5file = null;
#[ORM\Column(length: 255)]
private ?string $position = null;
public function getId(): ?int
{
return $this->id;
@ -99,4 +102,16 @@ class TorrentPoster
return $this;
}
public function getPosition(): ?string
{
return $this->position;
}
public function setPosition(string $position): static
{
$this->position = $position;
return $this;
}
}