1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
/* |
6
|
|
|
* This file is part of the Extension "sf_event_mgt" for TYPO3 CMS. |
7
|
|
|
* |
8
|
|
|
* For the full copyright and license information, please read the |
9
|
|
|
* LICENSE.txt file that was distributed with this source code. |
10
|
|
|
*/ |
11
|
|
|
|
12
|
|
|
namespace DERHANSEN\SfEventMgt\Domain\Model; |
13
|
|
|
|
14
|
|
|
use TYPO3\CMS\Extbase\Domain\Model\FileReference; |
15
|
|
|
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; |
16
|
|
|
|
17
|
|
|
/** |
18
|
|
|
* Organisator |
19
|
|
|
*/ |
20
|
|
|
class Organisator extends AbstractEntity |
21
|
|
|
{ |
22
|
|
|
protected string $name = ''; |
23
|
|
|
protected string $email = ''; |
24
|
|
|
protected string $emailSignature = ''; |
25
|
|
|
protected string $phone = ''; |
26
|
|
|
protected string $link = ''; |
27
|
|
|
protected ?FileReference $image = null; |
28
|
|
|
|
29
|
|
|
public function getName(): string |
30
|
|
|
{ |
31
|
|
|
return $this->name; |
32
|
|
|
} |
33
|
|
|
|
34
|
|
|
public function setName(string $name) |
35
|
|
|
{ |
36
|
|
|
$this->name = $name; |
37
|
|
|
} |
38
|
|
|
|
39
|
|
|
public function getEmail(): string |
40
|
|
|
{ |
41
|
|
|
return $this->email; |
42
|
|
|
} |
43
|
|
|
|
44
|
|
|
public function setEmail(string $email) |
45
|
|
|
{ |
46
|
|
|
$this->email = $email; |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
public function getEmailSignature(): string |
50
|
|
|
{ |
51
|
|
|
return $this->emailSignature; |
52
|
|
|
} |
53
|
|
|
|
54
|
|
|
public function setEmailSignature(string $emailSignature) |
55
|
|
|
{ |
56
|
|
|
$this->emailSignature = $emailSignature; |
57
|
|
|
} |
58
|
2 |
|
|
59
|
|
|
public function getPhone(): string |
60
|
2 |
|
{ |
61
|
|
|
return $this->phone; |
62
|
|
|
} |
63
|
|
|
|
64
|
|
|
public function setPhone(string $phone) |
65
|
|
|
{ |
66
|
|
|
$this->phone = $phone; |
67
|
|
|
} |
68
|
|
|
|
69
|
|
|
public function getImage(): ?FileReference |
70
|
2 |
|
{ |
71
|
|
|
return $this->image; |
72
|
2 |
|
} |
73
|
2 |
|
|
74
|
|
|
public function setImage(?FileReference $image) |
75
|
|
|
{ |
76
|
|
|
$this->image = $image; |
77
|
|
|
} |
78
|
|
|
|
79
|
|
|
public function getLink(): string |
80
|
12 |
|
{ |
81
|
|
|
return $this->link; |
82
|
12 |
|
} |
83
|
|
|
|
84
|
|
|
public function setLink(string $link): void |
85
|
|
|
{ |
86
|
|
|
$this->link = $link; |
87
|
|
|
} |
88
|
|
|
} |
89
|
|
|
|