[FEATURE] Add description-field for backend-users
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Classes / Domain / Model / BackendUserGroup.php
1 <?php
2 namespace TYPO3\CMS\Beuser\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 * Model for backend user group
19 *
20 * @author Felix Kopp <felix-source@phorax.com>
21 */
22 class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
23
24 /**
25 * @var string
26 */
27 protected $title;
28
29 /**
30 * @var bool
31 */
32 protected $hidden;
33
34 /**
35 * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Beuser\Domain\Model\BackendUserGroup>
36 * @lazy
37 */
38 protected $subGroups;
39
40 /**
41 * @var string
42 */
43 protected $description;
44
45 /**
46 * @param string $title
47 */
48 public function setTitle($title) {
49 $this->title = $title;
50 }
51
52 /**
53 * @return string
54 */
55 public function getTitle() {
56 return $this->title;
57 }
58
59 /**
60 * @return string
61 */
62 public function getDescription() {
63 return $this->description;
64 }
65
66 /**
67 * @param string $description
68 */
69 public function setDescription($description) {
70 $this->description = $description;
71 }
72
73 /**
74 * @param bool $hidden
75 */
76 public function setHidden($hidden) {
77 $this->hidden = $hidden;
78 }
79
80 /**
81 * @return bool
82 */
83 public function getHidden() {
84 return $this->hidden;
85 }
86
87 /**
88 * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $subGroups
89 */
90 public function setSubGroups($subGroups) {
91 $this->subGroups = $subGroups;
92 }
93
94 /**
95 * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage
96 */
97 public function getSubGroups() {
98 return $this->subGroups;
99 }
100
101 }