implement torrent posters feature #18

This commit is contained in:
ghost 2023-10-30 04:44:44 +02:00
parent 8ae1b3f0b7
commit bd5191e894
16 changed files with 944 additions and 43 deletions

View file

@ -51,6 +51,9 @@ class Torrent
#[ORM\Column(nullable: true)]
private ?int $leechers = null;
#[ORM\Column(nullable: true)]
private ?int $torrentPosterId = null;
public function getId(): ?int
{
return $this->id;
@ -206,4 +209,16 @@ class Torrent
return $this;
}
public function getTorrentPosterId(): ?int
{
return $this->torrentPosterId;
}
public function setTorrentPosterId(int $torrentPosterId): static
{
$this->torrentPosterId = $torrentPosterId;
return $this;
}
}