init torrent categories feature #26

This commit is contained in:
ghost 2023-11-04 06:26:01 +02:00
parent 35babed517
commit 701b448cd6
18 changed files with 1113 additions and 77 deletions

View file

@ -50,6 +50,9 @@ class User
#[ORM\Column]
private ?bool $posters = null;
#[ORM\Column(type: Types::SIMPLE_ARRAY)]
private ?array $categories = null;
public function getId(): ?int
{
return $this->id;
@ -205,4 +208,16 @@ class User
return $this;
}
public function getCategories(): ?array
{
return $this->categories;
}
public function setCategories(?array $categories): static
{
$this->categories = $categories;
return $this;
}
}