merge_email_verifier #3
@ -2,21 +2,19 @@
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use ApiPlatform\Core\Annotation\ApiResource;
|
||||
use App\Repository\QuotesRepository;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
#[ORM\Entity(repositoryClass: QuotesRepository::class)]
|
||||
#[ApiResource]
|
||||
class Quotes
|
||||
{
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue]
|
||||
#[ORM\Column(type: 'integer')]
|
||||
private $id;
|
||||
private int $id;
|
||||
|
||||
#[ORM\Column(type: 'text')]
|
||||
private $quote;
|
||||
private string $quote;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user