<?php

namespace Ig\IgReservations\Domain\Model;

use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
use DateTime;

/**
 * EventGroup
 */
class EventGroup extends AbstractEntity
{
    /**
     * repetition
     * @var string
     */
    protected $repetition = '';
    
    /**
     * repeatTill
     * @var DateTime
     */
    protected $repeatTill = null;


    /**
     * Get the value of repetition
     *
     * @return string
     */
    public function getRepetition()
    {
        return $this->repetition;
    }

    /**
     * Set the value of repetition
     *
     * @param string $repetition
     *
     * @return self
     */
    public function setRepetition($repetition)
    {
        $this->repetition = $repetition;

        return $this;
    }

    /**
     * @return DateTime
     */
    public function getRepeatTill()
    {
        return $this->repeatTill;
    }

    
    public function setRepeatTill(DateTime $repeatTill): void
    {
        $this->repeatTill = $repeatTill;
    }
}
