Passed
Push — master ( c13cd8...09b141 )
by Julito
10:19
created

TrackEHotspot::setHotspotCoordinate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
/* For licensing terms, see /license.txt */
3
4
namespace Chamilo\CoreBundle\Entity;
5
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * TrackEHotspot.
10
 *
11
 * @ORM\Table(name="track_e_hotspot", indexes={
12
 *     @ORM\Index(name="hotspot_user_id", columns={"hotspot_user_id"}),
13
 *     @ORM\Index(name="hotspot_exe_id", columns={"hotspot_exe_id"}),
14
 *     @ORM\Index(name="hotspot_question_id", columns={"hotspot_question_id"})
15
 * })
16
 * @ORM\Entity
17
 */
18
class TrackEHotspot
19
{
20
    /**
21
     * @var int
22
     *
23
     * @ORM\Column(name="hotspot_id", type="integer")
24
     * @ORM\Id
25
     * @ORM\GeneratedValue
26
     */
27
    protected $hotspotId;
28
29
    /**
30
     * @var int
31
     *
32
     * @ORM\Column(name="hotspot_user_id", type="integer", nullable=false)
33
     */
34
    protected $hotspotUserId;
35
36
    /**
37
     * @var int
38
     *
39
     * @ORM\Column(name="c_id", type="integer", nullable=true)
40
     */
41
    protected $cId;
42
43
    /**
44
     * @var int
45
     *
46
     * @ORM\Column(name="hotspot_exe_id", type="integer", nullable=false)
47
     */
48
    protected $hotspotExeId;
49
50
    /**
51
     * @var int
52
     *
53
     * @ORM\Column(name="hotspot_question_id", type="integer", nullable=false)
54
     */
55
    protected $hotspotQuestionId;
56
57
    /**
58
     * @var int
59
     *
60
     * @ORM\Column(name="hotspot_answer_id", type="integer", nullable=false)
61
     */
62
    protected $hotspotAnswerId;
63
64
    /**
65
     * @var bool
66
     *
67
     * @ORM\Column(name="hotspot_correct", type="boolean", nullable=false)
68
     */
69
    protected $hotspotCorrect;
70
71
    /**
72
     * @var string
73
     *
74
     * @ORM\Column(name="hotspot_coordinate", type="text", nullable=false)
75
     */
76
    protected $hotspotCoordinate;
77
78
    /**
79
     * Set hotspotUserId.
80
     *
81
     * @param int $hotspotUserId
82
     *
83
     * @return TrackEHotspot
84
     */
85
    public function setHotspotUserId($hotspotUserId)
86
    {
87
        $this->hotspotUserId = $hotspotUserId;
88
89
        return $this;
90
    }
91
92
    /**
93
     * Get hotspotUserId.
94
     *
95
     * @return int
96
     */
97
    public function getHotspotUserId()
98
    {
99
        return $this->hotspotUserId;
100
    }
101
102
    /**
103
     * Set cId.
104
     *
105
     * @param int $cId
106
     *
107
     * @return TrackEHotspot
108
     */
109
    public function setCId($cId)
110
    {
111
        $this->cId = $cId;
112
113
        return $this;
114
    }
115
116
    /**
117
     * Get cId.
118
     *
119
     * @return int
120
     */
121
    public function getCId()
122
    {
123
        return $this->cId;
124
    }
125
126
    /**
127
     * Set hotspotExeId.
128
     *
129
     * @param int $hotspotExeId
130
     *
131
     * @return TrackEHotspot
132
     */
133
    public function setHotspotExeId($hotspotExeId)
134
    {
135
        $this->hotspotExeId = $hotspotExeId;
136
137
        return $this;
138
    }
139
140
    /**
141
     * Get hotspotExeId.
142
     *
143
     * @return int
144
     */
145
    public function getHotspotExeId()
146
    {
147
        return $this->hotspotExeId;
148
    }
149
150
    /**
151
     * Set hotspotQuestionId.
152
     *
153
     * @param int $hotspotQuestionId
154
     *
155
     * @return TrackEHotspot
156
     */
157
    public function setHotspotQuestionId($hotspotQuestionId)
158
    {
159
        $this->hotspotQuestionId = $hotspotQuestionId;
160
161
        return $this;
162
    }
163
164
    /**
165
     * Get hotspotQuestionId.
166
     *
167
     * @return int
168
     */
169
    public function getHotspotQuestionId()
170
    {
171
        return $this->hotspotQuestionId;
172
    }
173
174
    /**
175
     * Set hotspotAnswerId.
176
     *
177
     * @param int $hotspotAnswerId
178
     *
179
     * @return TrackEHotspot
180
     */
181
    public function setHotspotAnswerId($hotspotAnswerId)
182
    {
183
        $this->hotspotAnswerId = $hotspotAnswerId;
184
185
        return $this;
186
    }
187
188
    /**
189
     * Get hotspotAnswerId.
190
     *
191
     * @return int
192
     */
193
    public function getHotspotAnswerId()
194
    {
195
        return $this->hotspotAnswerId;
196
    }
197
198
    /**
199
     * Set hotspotCorrect.
200
     *
201
     * @param bool $hotspotCorrect
202
     *
203
     * @return TrackEHotspot
204
     */
205
    public function setHotspotCorrect($hotspotCorrect)
206
    {
207
        $this->hotspotCorrect = $hotspotCorrect;
208
209
        return $this;
210
    }
211
212
    /**
213
     * Get hotspotCorrect.
214
     *
215
     * @return bool
216
     */
217
    public function getHotspotCorrect()
218
    {
219
        return $this->hotspotCorrect;
220
    }
221
222
    /**
223
     * Set hotspotCoordinate.
224
     *
225
     * @param string $hotspotCoordinate
226
     *
227
     * @return TrackEHotspot
228
     */
229
    public function setHotspotCoordinate($hotspotCoordinate)
230
    {
231
        $this->hotspotCoordinate = $hotspotCoordinate;
232
233
        return $this;
234
    }
235
236
    /**
237
     * Get hotspotCoordinate.
238
     *
239
     * @return string
240
     */
241
    public function getHotspotCoordinate()
242
    {
243
        return $this->hotspotCoordinate;
244
    }
245
246
    /**
247
     * Get hotspotId.
248
     *
249
     * @return int
250
     */
251
    public function getHotspotId()
252
    {
253
        return $this->hotspotId;
254
    }
255
}
256