Add doctrine and seperate out the renderer
This commit is contained in:
13
app/Entity/Book.php
Normal file
13
app/Entity/Book.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
#[ORM\Entity]
|
||||
#[ORM\Table(name: 'book')]
|
||||
class Book
|
||||
{
|
||||
#[ORM\Id, ORM\Column, ORM\GeneratedValue]
|
||||
private int $id;
|
||||
}
|
Reference in New Issue
Block a user