<?php

namespace AppBundle\Entity\Booking;

use Doctrine\ORM\Mapping as ORM;
use Dunglas\ApiBundle\Annotation\Iri;
use Symfony\Component\Serializer\Annotation\Groups;

/**
 * Examen récurrent
 *
 * @Iri("http://schema.org/ExamenRecur")
 */
#[ORM\Entity]
class ExamenRecur extends AbstractBookingRecur
{
    /**
     * @var Examen
     */
    #[ORM\ManyToOne(targetEntity: 'Examen', inversedBy: 'eventRecur')]
    #[Groups(['bookingrecur'])]
    protected $event;
}
