Test Setup Failed
Branch master (be722e)
by Yannick
75:49 queued 20:48
created

src/Chamilo/CourseBundle/Entity/CWikiDiscuss.php (1 issue)

Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/* For licensing terms, see /license.txt */
3
4
namespace Chamilo\CourseBundle\Entity;
5
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * CWikiDiscuss
10
 *
11
 * @ORM\Table(
12
 *  name="c_wiki_discuss",
13
 *  indexes={
14
 *      @ORM\Index(name="course", columns={"c_id"})
15
 *  }
16
 * )
17
 * @ORM\Entity
18
 */
19
class CWikiDiscuss
20
{
21
    /**
22
     * @var integer
23
     *
24
     * @ORM\Column(name="iid", type="integer")
25
     * @ORM\Id
26
     * @ORM\GeneratedValue
27
     */
28
    private $iid;
0 ignored issues
show
The property $iid is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
29
30
    /**
31
     * @var integer
32
     *
33
     * @ORM\Column(name="c_id", type="integer")
34
     */
35
    private $cId;
36
37
    /**
38
     * @var integer
39
     *
40
     * @ORM\Column(name="id", type="integer", nullable=true)
41
     */
42
    private $id;
43
44
    /**
45
     * @var integer
46
     *
47
     * @ORM\Column(name="publication_id", type="integer", nullable=false)
48
     */
49
    private $publicationId;
50
51
    /**
52
     * @var integer
53
     *
54
     * @ORM\Column(name="userc_id", type="integer", nullable=false)
55
     */
56
    private $usercId;
57
58
    /**
59
     * @var string
60
     *
61
     * @ORM\Column(name="comment", type="text", nullable=false)
62
     */
63
    private $comment;
64
65
    /**
66
     * @var string
67
     *
68
     * @ORM\Column(name="p_score", type="string", length=255, nullable=true)
69
     */
70
    private $pScore;
71
72
    /**
73
     * @var \DateTime
74
     *
75
     * @ORM\Column(name="dtime", type="datetime", nullable=false)
76
     */
77
    private $dtime;
78
79
    /**
80
     * Set publicationId
81
     *
82
     * @param integer $publicationId
83
     * @return CWikiDiscuss
84
     */
85
    public function setPublicationId($publicationId)
86
    {
87
        $this->publicationId = $publicationId;
88
89
        return $this;
90
    }
91
92
    /**
93
     * Get publicationId
94
     *
95
     * @return integer
96
     */
97
    public function getPublicationId()
98
    {
99
        return $this->publicationId;
100
    }
101
102
    /**
103
     * Set usercId
104
     *
105
     * @param integer $usercId
106
     * @return CWikiDiscuss
107
     */
108
    public function setUsercId($usercId)
109
    {
110
        $this->usercId = $usercId;
111
112
        return $this;
113
    }
114
115
    /**
116
     * Get usercId
117
     *
118
     * @return integer
119
     */
120
    public function getUsercId()
121
    {
122
        return $this->usercId;
123
    }
124
125
    /**
126
     * Set comment
127
     *
128
     * @param string $comment
129
     * @return CWikiDiscuss
130
     */
131
    public function setComment($comment)
132
    {
133
        $this->comment = $comment;
134
135
        return $this;
136
    }
137
138
    /**
139
     * Get comment
140
     *
141
     * @return string
142
     */
143
    public function getComment()
144
    {
145
        return $this->comment;
146
    }
147
148
    /**
149
     * Set pScore
150
     *
151
     * @param string $pScore
152
     * @return CWikiDiscuss
153
     */
154
    public function setPScore($pScore)
155
    {
156
        $this->pScore = $pScore;
157
158
        return $this;
159
    }
160
161
    /**
162
     * Get pScore
163
     *
164
     * @return string
165
     */
166
    public function getPScore()
167
    {
168
        return $this->pScore;
169
    }
170
171
    /**
172
     * Set dtime
173
     *
174
     * @param \DateTime $dtime
175
     * @return CWikiDiscuss
176
     */
177
    public function setDtime($dtime)
178
    {
179
        $this->dtime = $dtime;
180
181
        return $this;
182
    }
183
184
    /**
185
     * Get dtime
186
     *
187
     * @return \DateTime
188
     */
189
    public function getDtime()
190
    {
191
        return $this->dtime;
192
    }
193
194
    /**
195
     * Set id
196
     *
197
     * @param integer $id
198
     * @return CWikiDiscuss
199
     */
200
    public function setId($id)
201
    {
202
        $this->id = $id;
203
204
        return $this;
205
    }
206
207
    /**
208
     * Get id
209
     *
210
     * @return integer
211
     */
212
    public function getId()
213
    {
214
        return $this->id;
215
    }
216
217
    /**
218
     * Set cId
219
     *
220
     * @param integer $cId
221
     * @return CWikiDiscuss
222
     */
223
    public function setCId($cId)
224
    {
225
        $this->cId = $cId;
226
227
        return $this;
228
    }
229
230
    /**
231
     * Get cId
232
     *
233
     * @return integer
234
     */
235
    public function getCId()
236
    {
237
        return $this->cId;
238
    }
239
}
240