|
|
@ -20,8 +20,8 @@ class Torrent |
|
|
|
#[ORM\Column] |
|
|
|
#[ORM\Column] |
|
|
|
private ?int $added = null; |
|
|
|
private ?int $added = null; |
|
|
|
|
|
|
|
|
|
|
|
#[ORM\Column(length: 255)] |
|
|
|
#[ORM\Column] |
|
|
|
private ?string $filename = null; |
|
|
|
private ?bool $approved = null; |
|
|
|
|
|
|
|
|
|
|
|
#[ORM\Column(type: Types::TEXT, nullable: true)] |
|
|
|
#[ORM\Column(type: Types::TEXT, nullable: true)] |
|
|
|
private ?string $keywords = null; |
|
|
|
private ?string $keywords = null; |
|
|
@ -71,26 +71,26 @@ class Torrent |
|
|
|
return $this; |
|
|
|
return $this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function getFilename(): ?string |
|
|
|
public function getKeywords(): ?string |
|
|
|
{ |
|
|
|
{ |
|
|
|
return $this->filename; |
|
|
|
return $this->keywords; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function setFilename(string $filename): static |
|
|
|
public function setKeywords(?string $keywords): static |
|
|
|
{ |
|
|
|
{ |
|
|
|
$this->filename = $filename; |
|
|
|
$this->keywords = $keywords; |
|
|
|
|
|
|
|
|
|
|
|
return $this; |
|
|
|
return $this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function getKeywords(): ?string |
|
|
|
public function isApproved(): ?bool |
|
|
|
{ |
|
|
|
{ |
|
|
|
return $this->keywords; |
|
|
|
return $this->approved; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function setKeywords(?string $keywords): static |
|
|
|
public function setApproved(bool $approved): static |
|
|
|
{ |
|
|
|
{ |
|
|
|
$this->keywords = $keywords; |
|
|
|
$this->approved = $approved; |
|
|
|
|
|
|
|
|
|
|
|
return $this; |
|
|
|
return $this; |
|
|
|
} |
|
|
|
} |
|
|
|