<?php

namespace Ig\IgReservations\Domain\Model;

use DateTime;

/**
 * EventGroup
 */
class EventGroup extends \TYPO3\CMS\Extbase\DomainObject\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)
    {
        $this->repeatTill = $repeatTill;
    }
}
