Completed
Push — master ( 162b1e...50d94b )
by Julito
11:02
created

TrackEAccessComplete::setDownUserId()   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
nop 1
dl 0
loc 5
rs 10
c 0
b 0
f 0
nc 1
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
 * TrackEDownloads.
10
 *
11
 * @ORM\Table(name="track_e_downloads", indexes={
12
 *     @ORM\Index(name="idx_ted_user_id", columns={"down_user_id"}),
13
 *     @ORM\Index(name="idx_ted_c_id", columns={"c_id"}),
14
 *     @ORM\Index(name="down_session_id", columns={"down_session_id"})
15
 * })
16
 * @ORM\Entity
17
 */
18
class TrackEAccessComplete
19
{
20
    /**
21
     * @var int
22
     *
23
     * @ORM\Column(name="down_id", type="integer")
24
     * @ORM\Id
25
     * @ORM\GeneratedValue
26
     */
27
    protected $downId;
28
29
    /**
30
     * @var int
31
     *
32
     * @ORM\Column(name="down_user_id", type="integer", nullable=true)
33
     */
34
    protected $downUserId;
35
36
    /**
37
     * @var \DateTime
38
     *
39
     * @ORM\Column(name="down_date", type="datetime", nullable=false)
40
     */
41
    protected $downDate;
42
43
    /**
44
     * @var int
45
     *
46
     * @ORM\Column(name="c_id", type="integer", nullable=false)
47
     */
48
    protected $cId;
49
50
    /**
51
     * @var string
52
     *
53
     * @ORM\Column(name="down_doc_path", type="string", length=255, nullable=false)
54
     */
55
    protected $downDocPath;
56
57
    /**
58
     * @var int
59
     *
60
     * @ORM\Column(name="down_session_id", type="integer", nullable=false)
61
     */
62
    protected $downSessionId;
63
64
    /**
65
     * Set downUserId.
66
     *
67
     * @param int $downUserId
68
     *
69
     * @return TrackEDownloads
70
     */
71
    public function setDownUserId($downUserId)
72
    {
73
        $this->downUserId = $downUserId;
74
75
        return $this;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this returns the type Chamilo\CoreBundle\Entity\TrackEAccessComplete which is incompatible with the documented return type Chamilo\CoreBundle\Entity\TrackEDownloads.
Loading history...
76
    }
77
78
    /**
79
     * Get downUserId.
80
     *
81
     * @return int
82
     */
83
    public function getDownUserId()
84
    {
85
        return $this->downUserId;
86
    }
87
88
    /**
89
     * Set downDate.
90
     *
91
     * @param \DateTime $downDate
92
     *
93
     * @return TrackEDownloads
94
     */
95
    public function setDownDate($downDate)
96
    {
97
        $this->downDate = $downDate;
98
99
        return $this;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this returns the type Chamilo\CoreBundle\Entity\TrackEAccessComplete which is incompatible with the documented return type Chamilo\CoreBundle\Entity\TrackEDownloads.
Loading history...
100
    }
101
102
    /**
103
     * Get downDate.
104
     *
105
     * @return \DateTime
106
     */
107
    public function getDownDate()
108
    {
109
        return $this->downDate;
110
    }
111
112
    /**
113
     * Set cId.
114
     *
115
     * @param int $cId
116
     *
117
     * @return TrackEDownloads
118
     */
119
    public function setCId($cId)
120
    {
121
        $this->cId = $cId;
122
123
        return $this;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this returns the type Chamilo\CoreBundle\Entity\TrackEAccessComplete which is incompatible with the documented return type Chamilo\CoreBundle\Entity\TrackEDownloads.
Loading history...
124
    }
125
126
    /**
127
     * Get cId.
128
     *
129
     * @return int
130
     */
131
    public function getCId()
132
    {
133
        return $this->cId;
134
    }
135
136
    /**
137
     * Set downDocPath.
138
     *
139
     * @param string $downDocPath
140
     *
141
     * @return TrackEDownloads
142
     */
143
    public function setDownDocPath($downDocPath)
144
    {
145
        $this->downDocPath = $downDocPath;
146
147
        return $this;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this returns the type Chamilo\CoreBundle\Entity\TrackEAccessComplete which is incompatible with the documented return type Chamilo\CoreBundle\Entity\TrackEDownloads.
Loading history...
148
    }
149
150
    /**
151
     * Get downDocPath.
152
     *
153
     * @return string
154
     */
155
    public function getDownDocPath()
156
    {
157
        return $this->downDocPath;
158
    }
159
160
    /**
161
     * Set downSessionId.
162
     *
163
     * @param int $downSessionId
164
     *
165
     * @return TrackEDownloads
166
     */
167
    public function setDownSessionId($downSessionId)
168
    {
169
        $this->downSessionId = $downSessionId;
170
171
        return $this;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this returns the type Chamilo\CoreBundle\Entity\TrackEAccessComplete which is incompatible with the documented return type Chamilo\CoreBundle\Entity\TrackEDownloads.
Loading history...
172
    }
173
174
    /**
175
     * Get downSessionId.
176
     *
177
     * @return int
178
     */
179
    public function getDownSessionId()
180
    {
181
        return $this->downSessionId;
182
    }
183
184
    /**
185
     * Get downId.
186
     *
187
     * @return int
188
     */
189
    public function getDownId()
190
    {
191
        return $this->downId;
192
    }
193
}
194