events/Classes/Domain/Model/Region.php

50 lines
913 B
PHP
Raw Permalink Normal View History

<?php
namespace Wrm\Events\Domain\Model;
/*
*
* This file is part of the "DD Events" Extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* (c) 2019 Dirk Koritnik <koritnik@werkraum-media.de>
*
*/
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
class Region extends AbstractEntity
{
/**
* @var string
*/
protected $title = '';
2020-10-01 08:34:13 +02:00
/**
* @var int
*/
2020-10-01 08:56:44 +02:00
protected $_languageUid;
public function getTitle(): string
{
return $this->title;
}
public function setTitle(string $title): void
{
$this->title = $title;
}
public function setLanguageUid(int $languageUid): void
{
2020-10-01 08:56:44 +02:00
$this->_languageUid = $languageUid;
2020-10-01 08:34:13 +02:00
}
public function getLanguageUid(): int
{
2020-10-01 08:56:44 +02:00
return $this->_languageUid;
2020-10-01 08:34:13 +02:00
}
}