mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-02 01:55:31 +00:00
implement torrent posters feature #18
This commit is contained in:
parent
8ae1b3f0b7
commit
bd5191e894
16 changed files with 944 additions and 43 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue