Added vue handling the information from lubimy czytac to fetch information about the books and fill in the form automatically.

This commit is contained in:
krzysiej
2022-05-27 14:04:08 +02:00
parent 120991e584
commit 507eeece9e
22 changed files with 1060 additions and 203 deletions

View File

@@ -57,6 +57,9 @@ class Book
#[ORM\Column(type: 'smallint', nullable: true)]
private $rating;
#[ORM\Column(type: 'text', nullable: true)]
private $category;
public function __construct()
{
$this->files = new ArrayCollection();
@@ -252,4 +255,16 @@ class Book
return $this;
}
public function getCategory(): ?string
{
return $this->category;
}
public function setCategory(?string $category): self
{
$this->category = $category;
return $this;
}
}