mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +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
|
|
@ -47,6 +47,9 @@ class User
|
|||
#[ORM\Column]
|
||||
private ?bool $yggdrasil = null;
|
||||
|
||||
#[ORM\Column]
|
||||
private ?bool $posters = null;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
|
|
@ -190,4 +193,16 @@ class User
|
|||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isPosters(): ?bool
|
||||
{
|
||||
return $this->posters;
|
||||
}
|
||||
|
||||
public function setPosters(bool $posters): static
|
||||
{
|
||||
$this->posters = $posters;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue