2019-07-18 13:44:19 +02:00
|
|
|
<?php
|
2021-01-07 08:50:43 +01:00
|
|
|
|
2019-07-18 13:44:19 +02:00
|
|
|
namespace Wrm\Events\Domain\Model;
|
|
|
|
|
2021-01-07 08:58:03 +01:00
|
|
|
/*
|
2019-07-18 13:44:19 +02:00
|
|
|
*
|
|
|
|
* 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>
|
|
|
|
*
|
2021-01-07 08:58:03 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
|
|
|
|
2021-01-07 08:47:15 +01:00
|
|
|
class Organizer extends AbstractEntity
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $name = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $street = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $district = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $city = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $zip = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $phone = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $web = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $email = '';
|
|
|
|
|
2020-10-01 08:34:13 +02:00
|
|
|
/**
|
|
|
|
* @var int
|
|
|
|
*/
|
2020-10-01 08:56:44 +02:00
|
|
|
protected $_languageUid;
|
2020-10-01 08:34:13 +02:00
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function getName(): string
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
return $this->name;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function setName(string $name): void
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
$this->name = $name;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function getStreet(): string
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
return $this->street;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function setStreet(string $street): void
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
$this->street = $street;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function getDistrict(): string
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
return $this->district;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function setDistrict(string $district): void
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
$this->district = $district;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function getCity(): string
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
return $this->city;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function setCity(string $city): void
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
$this->city = $city;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function getZip(): string
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
return $this->zip;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function setZip(string $zip): void
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
$this->zip = $zip;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function getPhone(): string
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
return $this->phone;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function setPhone(string $phone): void
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
$this->phone = $phone;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function getWeb(): string
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
return $this->web;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function setWeb(string $web): void
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
$this->web = $web;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function getEmail(): string
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
return $this->email;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function setEmail(string $email): void
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
$this->email = $email;
|
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function setLanguageUid(int $languageUid): void
|
2021-01-07 08:50:43 +01:00
|
|
|
{
|
2020-10-01 08:56:44 +02:00
|
|
|
$this->_languageUid = $languageUid;
|
2020-10-01 08:34:13 +02:00
|
|
|
}
|
|
|
|
|
2021-09-07 09:52:14 +02:00
|
|
|
public function getLanguageUid(): int
|
2021-01-07 08:50:43 +01:00
|
|
|
{
|
2020-10-01 08:56:44 +02:00
|
|
|
return $this->_languageUid;
|
2020-10-01 08:34:13 +02:00
|
|
|
}
|
2019-07-18 13:44:19 +02:00
|
|
|
}
|