0e0793692fc822c272e5bfaf972a2f110f2d1e12
[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 * Copyright notice
6 *
7 * (c) 2013 Kai Vogel <kai.vogel@speedprogs.de>, Speedprogs.de
8 *
9 * All rights reserved
10 *
11 * This script is part of the TYPO3 project. The TYPO3 project is
12 * free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * The GNU General Public License can be found at
18 * http://www.gnu.org/copyleft/gpl.html.
19 *
20 * This script is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 *
25 * This copyright notice MUST APPEAR in all copies of the script!
26 ***************************************************************/
27
28 /**
29 * SysNote model
30 *
31 * @author Kai Vogel <kai.vogel@speedprogs.de>
32 */
33 class SysNote extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
34
35 /**
36 * @var \DateTime
37 */
38 protected $creationDate;
39
40 /**
41 * @var \DateTime
42 */
43 protected $modificationDate;
44
45 /**
46 * @var \TYPO3\CMS\Extbase\Domain\Model\BackendUser
47 */
48 protected $author;
49
50 /**
51 * @var string
52 */
53 protected $subject;
54
55 /**
56 * @var string
57 */
58 protected $message;
59
60 /**
61 * @var boolean
62 */
63 protected $personal;
64
65 /**
66 * @var integer
67 */
68 protected $category;
69
70 /**
71 * @return \DateTime $creationDate
72 */
73 public function getCreationDate() {
74 return $this->creationDate;
75 }
76
77 /**
78 * @param \DateTime $creationDate
79 * @return void
80 */
81 public function setCreationDate($creationDate) {
82 $this->creationDate = $creationDate;
83 }
84
85 /**
86 * @return \DateTime $modificationDate
87 */
88 public function getModificationDate() {
89 return $this->modificationDate;
90 }
91
92 /**
93 * @param \DateTime $modificationDate
94 * @return void
95 */
96 public function setModificationDate($modificationDate) {
97 $this->modificationDate = $modificationDate;
98 }
99
100 /**
101 * @return \TYPO3\CMS\Extbase\Domain\Model\BackendUser $author
102 */
103 public function getAuthor() {
104 return $this->author;
105 }
106
107 /**
108 * @param \TYPO3\CMS\Extbase\Domain\Model\BackendUser $author
109 * @return void
110 */
111 public function setAuthor(\TYPO3\CMS\Extbase\Domain\Model\BackendUser $author) {
112 $this->author = $author;
113 }
114
115 /**
116 * @return string $subject
117 */
118 public function getSubject() {
119 return $this->subject;
120 }
121
122 /**
123 * @param string $subject
124 * @return void
125 */
126 public function setSubject($subject) {
127 $this->subject = $subject;
128 }
129
130 /**
131 * @return string $message
132 */
133 public function getMessage() {
134 return $this->message;
135 }
136
137 /**
138 * @param string $message
139 * @return void
140 */
141 public function setMessage($message) {
142 $this->message = $message;
143 }
144
145 /**
146 * @return boolean $personal
147 */
148 public function getPersonal() {
149 return $this->personal;
150 }
151
152 /**
153 * @param boolean $personal
154 * @return void
155 */
156 public function setPersonal($personal) {
157 $this->personal = $personal;
158 }
159
160 /**
161 * @return integer $category
162 */
163 public function getCategory() {
164 return $this->category;
165 }
166
167 /**
168 * @param integer $category
169 * @return void
170 */
171 public function setCategory($category) {
172 $this->category = $category;
173 }
174
175 }