BookedCreditType::getShortName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace JhFlexiTime\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * Class BookedCreditType
9
 * @package JhFlexiTime\Entity
10
 * @author Aydin Hassan <[email protected]>
11
 *
12
 * @ORM\Entity
13
 * @ORM\Table(name="booked_credit_type")
14
 */
15
class BookedCreditType
16
{
17
    /**
18
     * @var int
19
     *
20
     * @ORM\Id
21
     * @ORM\Column(type="integer")
22
     * @ORM\GeneratedValue(strategy="AUTO")
23
     */
24
    protected $id;
25
26
    /**
27
     * @var string
28
     *
29
     * @ORM\Column(type="string", name="short_name", nullable=true)
30
     */
31
    protected $shortName;
32
33
    /**
34
     * @var string
35
     *
36
     * @ORM\Column(type="string", name="label", nullable=true)
37
     */
38
    protected $label;
39
40
    /**
41
     * @return int
42
     */
43
    public function getId()
44
    {
45
        return $this->id;
46
    }
47
48
    /**
49
     * @param int $id
50
     */
51
    public function setId($id)
52
    {
53
        $this->id = $id;
54
    }
55
56
    /**
57
     * @return string
58
     */
59
    public function getShortName()
60
    {
61
        return $this->shortName;
62
    }
63
64
    /**
65
     * @param string $shortName
66
     */
67
    public function setShortName($shortName)
68
    {
69
        $this->shortName = $shortName;
70
    }
71
72
    /**
73
     * @return string
74
     */
75
    public function getLabel()
76
    {
77
        return $this->label;
78
    }
79
80
    /**
81
     * @param string $label
82
     */
83
    public function setLabel($label)
84
    {
85
        $this->label = $label;
86
    }
87
}
88