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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user