Passed
Push — master ( cc68cc...50453a )
by Julito
09:11
created

CCalendarEventRepeatNot::getCId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
namespace Chamilo\CourseBundle\Entity;
6
7
use Doctrine\ORM\Mapping as ORM;
8
9
/**
10
 * CCalendarEventRepeatNot.
11
 *
12
 * @ORM\Table(
13
 *  name="c_calendar_event_repeat_not"
14
 * )
15
 * @ORM\Entity
16
 */
17
class CCalendarEventRepeatNot
18
{
19
    /**
20
     * @var int
21
     *
22
     * @ORM\Column(name="iid", type="integer")
23
     * @ORM\Id
24
     * @ORM\GeneratedValue
25
     */
26
    protected $iid;
27
28
    /**
29
     * @var CCalendarEvent
30
     *
31
     * @ORM\ManyToOne(targetEntity="Chamilo\CourseBundle\Entity\CCalendarEvent", inversedBy="repeatEvents")
32
     * @ORM\JoinColumn(name="cal_id", referencedColumnName="iid")
33
     */
34
    protected $event;
35
36
    /**
37
     * @var int
38
     *
39
     * @ORM\Column(name="cal_date", type="integer")
40
     */
41
    protected $calDate;
42
43
    /**
44
     * Set calDate.
45
     *
46
     * @param int $calDate
47
     *
48
     * @return CCalendarEventRepeatNot
49
     */
50
    public function setCalDate($calDate)
51
    {
52
        $this->calDate = $calDate;
53
54
        return $this;
55
    }
56
57
    /**
58
     * Get calDate.
59
     *
60
     * @return int
61
     */
62
    public function getCalDate()
63
    {
64
        return $this->calDate;
65
    }
66
}
67