<?php
namespace App\Database\Domain\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* @ORM\MappedSuperclass()
*/
abstract class AbstractEntity
{
/**
* @ORM\Id()
*
* @ORM\Column(type="string")
*
* @Groups({"toast_session_section"})
*/
protected ?string $id = null;
public function getId()
{
return $this->id;
}
public function setId($id): void
{
$this->id = $id;
}
}