1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Fi\CoreBundle\Entity; |
4
|
|
|
|
5
|
|
|
/** |
6
|
|
|
* MenuApplicazione. |
7
|
|
|
*/ |
8
|
|
|
class MenuApplicazione |
9
|
|
|
{ |
10
|
|
|
/** |
11
|
|
|
* @var int |
12
|
|
|
*/ |
13
|
|
|
private $id; |
14
|
|
|
|
15
|
|
|
/** |
16
|
|
|
* @var string |
17
|
|
|
*/ |
18
|
|
|
private $nome; |
19
|
|
|
|
20
|
|
|
/** |
21
|
|
|
* @var string |
22
|
|
|
*/ |
23
|
|
|
private $percorso; |
24
|
|
|
|
25
|
|
|
/** |
26
|
|
|
* @var int |
27
|
|
|
*/ |
28
|
|
|
private $padre; |
29
|
|
|
|
30
|
|
|
/** |
31
|
|
|
* Get id. |
32
|
|
|
* |
33
|
|
|
* @return int |
34
|
|
|
*/ |
35
|
15 |
|
public function getId() |
36
|
|
|
{ |
37
|
15 |
|
return $this->id; |
38
|
|
|
} |
39
|
|
|
|
40
|
|
|
/** |
41
|
|
|
* Set nome. |
42
|
|
|
* |
43
|
|
|
* @param string $nome |
44
|
|
|
* |
45
|
|
|
* @return menuApplicazione |
46
|
|
|
*/ |
47
|
3 |
|
public function setNome($nome) |
48
|
|
|
{ |
49
|
3 |
|
$this->nome = $nome; |
50
|
|
|
|
51
|
3 |
|
return $this; |
52
|
|
|
} |
53
|
|
|
|
54
|
|
|
/** |
55
|
|
|
* Get nome. |
56
|
|
|
* |
57
|
|
|
* @return string |
58
|
|
|
*/ |
59
|
15 |
|
public function getNome() |
60
|
|
|
{ |
61
|
15 |
|
return $this->nome; |
62
|
|
|
} |
63
|
|
|
|
64
|
|
|
/** |
65
|
|
|
* Set percorso. |
66
|
|
|
* |
67
|
|
|
* @param string $percorso |
68
|
|
|
* |
69
|
|
|
* @return menuApplicazione |
70
|
|
|
*/ |
71
|
3 |
|
public function setPercorso($percorso) |
72
|
|
|
{ |
73
|
3 |
|
$this->percorso = $percorso; |
74
|
|
|
|
75
|
3 |
|
return $this; |
76
|
|
|
} |
77
|
|
|
|
78
|
|
|
/** |
79
|
|
|
* Get percorso. |
80
|
|
|
* |
81
|
|
|
* @return string |
82
|
|
|
*/ |
83
|
14 |
|
public function getPercorso() |
84
|
|
|
{ |
85
|
14 |
|
return $this->percorso; |
86
|
|
|
} |
87
|
|
|
|
88
|
|
|
/** |
89
|
|
|
* Set padre. |
90
|
|
|
* |
91
|
|
|
* @param int $padre |
92
|
|
|
* |
93
|
|
|
* @return menuApplicazione |
94
|
|
|
*/ |
95
|
3 |
|
public function setPadre($padre) |
96
|
|
|
{ |
97
|
3 |
|
$this->padre = $padre; |
98
|
|
|
|
99
|
3 |
|
return $this; |
100
|
|
|
} |
101
|
|
|
|
102
|
|
|
/** |
103
|
|
|
* Get padre. |
104
|
|
|
* |
105
|
|
|
* @return int |
106
|
|
|
*/ |
107
|
1 |
|
public function getPadre() |
108
|
|
|
{ |
109
|
1 |
|
return $this->padre; |
110
|
|
|
} |
111
|
|
|
|
112
|
|
|
/** |
113
|
|
|
* @var int |
114
|
|
|
*/ |
115
|
|
|
private $ordine; |
116
|
|
|
|
117
|
|
|
/** |
118
|
|
|
* Set ordine. |
119
|
|
|
* |
120
|
|
|
* @param int $ordine |
121
|
|
|
* |
122
|
|
|
* @return menuApplicazione |
123
|
|
|
*/ |
124
|
3 |
|
public function setOrdine($ordine) |
125
|
|
|
{ |
126
|
3 |
|
$this->ordine = $ordine; |
127
|
|
|
|
128
|
3 |
|
return $this; |
129
|
|
|
} |
130
|
|
|
|
131
|
|
|
/** |
132
|
|
|
* Get ordine. |
133
|
|
|
* |
134
|
|
|
* @return int |
135
|
|
|
*/ |
136
|
1 |
|
public function getOrdine() |
137
|
|
|
{ |
138
|
1 |
|
return $this->ordine; |
139
|
|
|
} |
140
|
|
|
|
141
|
|
|
/** |
142
|
|
|
* @var bool |
143
|
|
|
*/ |
144
|
|
|
private $attivo; |
145
|
|
|
|
146
|
|
|
/** |
147
|
|
|
* @var string |
148
|
|
|
*/ |
149
|
|
|
private $target; |
150
|
|
|
|
151
|
|
|
/** |
152
|
|
|
* Set attivo. |
153
|
|
|
* |
154
|
|
|
* @param bool $attivo |
155
|
|
|
* |
156
|
|
|
* @return menuApplicazione |
157
|
|
|
*/ |
158
|
3 |
|
public function setAttivo($attivo) |
159
|
|
|
{ |
160
|
3 |
|
$this->attivo = $attivo; |
161
|
|
|
|
162
|
3 |
|
return $this; |
163
|
|
|
} |
164
|
|
|
|
165
|
|
|
/** |
166
|
|
|
* Get attivo. |
167
|
|
|
* |
168
|
|
|
* @return bool |
169
|
|
|
*/ |
170
|
1 |
|
public function isAttivo() |
171
|
|
|
{ |
172
|
1 |
|
return $this->attivo; |
173
|
|
|
} |
174
|
|
|
|
175
|
|
|
/** |
176
|
|
|
* Set target. |
177
|
|
|
* |
178
|
|
|
* @param string $target |
179
|
|
|
* |
180
|
|
|
* @return menuApplicazione |
181
|
|
|
*/ |
182
|
1 |
|
public function setTarget($target) |
183
|
|
|
{ |
184
|
1 |
|
$this->target = $target; |
185
|
|
|
|
186
|
1 |
|
return $this; |
187
|
|
|
} |
188
|
|
|
|
189
|
|
|
/** |
190
|
|
|
* Get target. |
191
|
|
|
* |
192
|
|
|
* @return string |
193
|
|
|
*/ |
194
|
14 |
|
public function getTarget() |
195
|
|
|
{ |
196
|
14 |
|
return $this->target; |
197
|
|
|
} |
198
|
|
|
|
199
|
|
|
/** |
200
|
|
|
* @var string |
201
|
|
|
*/ |
202
|
|
|
private $tag; |
203
|
|
|
|
204
|
|
|
/** |
205
|
|
|
* @var bool |
206
|
|
|
*/ |
207
|
|
|
private $notifiche; |
208
|
|
|
|
209
|
|
|
/** |
210
|
|
|
* @var bool |
211
|
|
|
*/ |
212
|
|
|
private $autorizzazionerichiesta; |
213
|
|
|
|
214
|
|
|
/** |
215
|
|
|
* Set tag. |
216
|
|
|
* |
217
|
|
|
* @param string $tag |
218
|
|
|
* |
219
|
|
|
* @return menuApplicazione |
220
|
|
|
*/ |
221
|
1 |
|
public function setTag($tag) |
222
|
|
|
{ |
223
|
1 |
|
$this->tag = $tag; |
224
|
|
|
|
225
|
1 |
|
return $this; |
226
|
|
|
} |
227
|
|
|
|
228
|
|
|
/** |
229
|
|
|
* Get tag. |
230
|
|
|
* |
231
|
|
|
* @return string |
232
|
|
|
*/ |
233
|
14 |
|
public function getTag() |
234
|
|
|
{ |
235
|
14 |
|
return $this->tag; |
236
|
|
|
} |
237
|
|
|
|
238
|
|
|
/** |
239
|
|
|
* Set notifiche. |
240
|
|
|
* |
241
|
|
|
* @param bool $notifiche |
242
|
|
|
* |
243
|
|
|
* @return menuApplicazione |
244
|
|
|
*/ |
245
|
3 |
|
public function setNotifiche($notifiche) |
246
|
|
|
{ |
247
|
3 |
|
$this->notifiche = $notifiche; |
248
|
|
|
|
249
|
3 |
|
return $this; |
250
|
|
|
} |
251
|
|
|
|
252
|
|
|
/** |
253
|
|
|
* Get notifiche. |
254
|
|
|
* |
255
|
|
|
* @return bool |
256
|
|
|
*/ |
257
|
14 |
|
public function hasNotifiche() |
258
|
|
|
{ |
259
|
14 |
|
return $this->notifiche; |
260
|
|
|
} |
261
|
|
|
|
262
|
|
|
/** |
263
|
|
|
* Set autorizzazionerichiesta. |
264
|
|
|
* |
265
|
|
|
* @param bool $autorizzazionerichiesta |
266
|
|
|
* |
267
|
|
|
* @return menuApplicazione |
268
|
|
|
*/ |
269
|
3 |
|
public function setAutorizzazionerichiesta($autorizzazionerichiesta) |
270
|
|
|
{ |
271
|
3 |
|
$this->autorizzazionerichiesta = $autorizzazionerichiesta; |
272
|
|
|
|
273
|
3 |
|
return $this; |
274
|
|
|
} |
275
|
|
|
|
276
|
|
|
/** |
277
|
|
|
* Get autorizzazionerichiesta. |
278
|
|
|
* |
279
|
|
|
* @return bool |
280
|
|
|
*/ |
281
|
14 |
|
public function isAutorizzazionerichiesta() |
282
|
|
|
{ |
283
|
14 |
|
return $this->autorizzazionerichiesta; |
284
|
|
|
} |
285
|
|
|
|
286
|
|
|
/** |
287
|
|
|
* @var string |
288
|
|
|
*/ |
289
|
|
|
private $percorsonotifiche; |
290
|
|
|
|
291
|
|
|
/** |
292
|
|
|
* Set percorsonotifiche. |
293
|
|
|
* |
294
|
|
|
* @param string $percorsonotifiche |
295
|
|
|
* |
296
|
|
|
* @return menuApplicazione |
297
|
|
|
*/ |
298
|
1 |
|
public function setPercorsonotifiche($percorsonotifiche) |
299
|
|
|
{ |
300
|
1 |
|
$this->percorsonotifiche = $percorsonotifiche; |
301
|
|
|
|
302
|
1 |
|
return $this; |
303
|
|
|
} |
304
|
|
|
|
305
|
|
|
/** |
306
|
|
|
* Get percorsonotifiche. |
307
|
|
|
* |
308
|
|
|
* @return string |
309
|
|
|
*/ |
310
|
14 |
|
public function getPercorsonotifiche() |
311
|
|
|
{ |
312
|
14 |
|
return $this->percorsonotifiche; |
313
|
|
|
} |
314
|
|
|
} |
315
|
|
|
|