Removed file related fields from book entity except fo the cover.
This commit is contained in:
@@ -30,12 +30,6 @@ class Book
|
||||
#[ORM\Column(type: 'date', nullable: true)]
|
||||
private $publish_date;
|
||||
|
||||
#[ORM\Column(type: 'string', length: 255, nullable: true)]
|
||||
private $filename;
|
||||
|
||||
#[ORM\Column(type: 'string', length: 255, nullable: true)]
|
||||
private $original_filename;
|
||||
|
||||
#[ORM\Column(type: 'string', length: 255, nullable: true)]
|
||||
private $subtitle;
|
||||
|
||||
@@ -112,30 +106,6 @@ class Book
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getFilename(): ?string
|
||||
{
|
||||
return $this->filename;
|
||||
}
|
||||
|
||||
public function setFilename(?string $filename): self
|
||||
{
|
||||
$this->filename = $filename;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getOriginalFilename(): ?string
|
||||
{
|
||||
return $this->original_filename;
|
||||
}
|
||||
|
||||
public function setOriginalFilename(?string $original_filename): self
|
||||
{
|
||||
$this->original_filename = $original_filename;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSubtitle(): ?string
|
||||
{
|
||||
return $this->subtitle;
|
||||
|
||||
Reference in New Issue
Block a user