mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
implement torrent scrape queue
This commit is contained in:
parent
d2f7fff24e
commit
1b722812e8
7 changed files with 194 additions and 24 deletions
|
|
@ -20,6 +20,9 @@ class Torrent
|
|||
#[ORM\Column]
|
||||
private ?int $added = null;
|
||||
|
||||
#[ORM\Column(nullable: true)]
|
||||
private ?int $scraped = null;
|
||||
|
||||
#[ORM\Column]
|
||||
private ?bool $approved = null;
|
||||
|
||||
|
|
@ -71,6 +74,18 @@ class Torrent
|
|||
return $this;
|
||||
}
|
||||
|
||||
public function getScraped(): ?int
|
||||
{
|
||||
return $this->scraped;
|
||||
}
|
||||
|
||||
public function setScraped(int $scraped): static
|
||||
{
|
||||
$this->scraped = $scraped;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getKeywords(): ?string
|
||||
{
|
||||
return $this->keywords;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue