events/Classes/Domain/Model/Organizer.php

128 lines
2.3 KiB
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace WerkraumMedia\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 Organizer extends AbstractEntity
{
protected string $name = '';
protected string $street = '';
protected string $district = '';
protected string $city = '';
protected string $zip = '';
protected string $phone = '';
protected string $web = '';
protected string $email = '';
2020-10-01 08:34:13 +02:00
public function getName(): string
{
return $this->name;
}
public function setName(string $name): void
{
$this->name = $name;
}
public function getStreet(): string
{
return $this->street;
}
public function setStreet(string $street): void
{
$this->street = $street;
}
public function getDistrict(): string
{
return $this->district;
}
public function setDistrict(string $district): void
{
$this->district = $district;
}
public function getCity(): string
{
return $this->city;
}
public function setCity(string $city): void
{
$this->city = $city;
}
public function getZip(): string
{
return $this->zip;
}
public function setZip(string $zip): void
{
$this->zip = $zip;
}
public function getPhone(): string
{
return $this->phone;
}
public function setPhone(string $phone): void
{
$this->phone = $phone;
}
public function getWeb(): string
{
return $this->web;
}
public function setWeb(string $web): void
{
$this->web = $web;
}
public function getEmail(): string
{
return $this->email;
}
public function setEmail(string $email): void
{
$this->email = $email;
}
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
}
}