Projet-Symfony/src/Entity/ApiDiscog.php

21 lines
343 B
PHP

<?php
namespace App\Entity;
use App\Repository\ApiDiscogRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ApiDiscogRepository::class)]
class ApiDiscog
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
public function getId(): ?int
{
return $this->id;
}
}