[TASK] Re-work/simplify copyright header in PHP files - Part 1
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_note / Classes / Domain / Model / SysNote.php
1 <?php
2 namespace TYPO3\CMS\SysNote\Domain\Model;
3
4 /**
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16
17 /**
18 * SysNote model
19 *
20 * @author Kai Vogel <kai.vogel@speedprogs.de>
21 */
22 class SysNote extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
23
24 /**
25 * @var \DateTime
26 */
27 protected $creationDate;
28
29 /**
30 * @var \DateTime
31 */
32 protected $modificationDate;
33
34 /**
35 * @var \TYPO3\CMS\Extbase\Domain\Model\BackendUser
36 */
37 protected $author;
38
39 /**
40 * @var string
41 */
42 protected $subject;
43
44 /**
45 * @var string
46 */
47 protected $message;
48
49 /**
50 * @var boolean
51 */
52 protected $personal;
53
54 /**
55 * @var integer
56 */
57 protected $category;
58
59 /**
60 * @return \DateTime $creationDate
61 */
62 public function getCreationDate() {
63 return $this->creationDate;
64 }
65
66 /**
67 * @param \DateTime $creationDate
68 * @return void
69 */
70 public function setCreationDate($creationDate) {
71 $this->creationDate = $creationDate;
72 }
73
74 /**
75 * @return \DateTime $modificationDate
76 */
77 public function getModificationDate() {
78 return $this->modificationDate;
79 }
80
81 /**
82 * @param \DateTime $modificationDate
83 * @return void
84 */
85 public function setModificationDate($modificationDate) {
86 $this->modificationDate = $modificationDate;
87 }
88
89 /**
90 * @return \TYPO3\CMS\Extbase\Domain\Model\BackendUser $author
91 */
92 public function getAuthor() {
93 return $this->author;
94 }
95
96 /**
97 * @param \TYPO3\CMS\Extbase\Domain\Model\BackendUser $author
98 * @return void
99 */
100 public function setAuthor(\TYPO3\CMS\Extbase\Domain\Model\BackendUser $author) {
101 $this->author = $author;
102 }
103
104 /**
105 * @return string $subject
106 */
107 public function getSubject() {
108 return $this->subject;
109 }
110
111 /**
112 * @param string $subject
113 * @return void
114 */
115 public function setSubject($subject) {
116 $this->subject = $subject;
117 }
118
119 /**
120 * @return string $message
121 */
122 public function getMessage() {
123 return $this->message;
124 }
125
126 /**
127 * @param string $message
128 * @return void
129 */
130 public function setMessage($message) {
131 $this->message = $message;
132 }
133
134 /**
135 * @return boolean $personal
136 */
137 public function getPersonal() {
138 return $this->personal;
139 }
140
141 /**
142 * @param boolean $personal
143 * @return void
144 */
145 public function setPersonal($personal) {
146 $this->personal = $personal;
147 }
148
149 /**
150 * @return integer $category
151 */
152 public function getCategory() {
153 return $this->category;
154 }
155
156 /**
157 * @param integer $category
158 * @return void
159 */
160 public function setCategory($category) {
161 $this->category = $category;
162 }
163
164 }