<?php

namespace AppBundle\Entity\Booking;

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

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