15 lines
238 B
PHP
15 lines
238 B
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
#[ORM\Entity]
|
|
class Category
|
|
{
|
|
#[ORM\Id, ORM\GeneratedValue, ORM\Column]
|
|
private ?int $id = null;
|
|
|
|
#[ORM\Column(length: 80)]
|
|
private ?string $title = null;
|
|
}
|