<?php

namespace AppBundle\Entity\Booking;

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

/**
 * Périodes de vacances récurrentes d'une Organization
 *
 * @Iri("http://schema.org/OrganizationHolidayRecur")
 */
#[ORM\Entity]
class OrganizationHolidayRecur extends AbstractBookingRecur
{
    /**
     * @var OrganizationHoliday
     */
    #[ORM\ManyToOne(targetEntity: 'OrganizationHoliday', inversedBy: 'eventRecur')]
    #[Groups(['bookingrecur'])]
    protected $event;
}
