Completed
Push — master ( 749edd...721fe7 )
by Park Jong-Hun
10:14
created

Board::getId()   A

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 App\Entity;
4
5
/**
6
 * @Entity
7
 * @Table(name="boards")
8
 */
9
class Board
10
{
11
    /**
12
     * @Id
13
     * @Column(type="integer")
14
     * @GeneratedValue
15
     */
16
    protected $id;
17
18
    /**
19
     * @Column(type="text", length=255)
20
     */
21
    protected $name;
22
23
    /**
24
     * @Column(type="text", length=255)
25
     */
26
    protected $title;
27
28
29
    public function getId()
30
    {
31
        return $this->id;
32
    }
33
34
    public function getName()
35
    {
36
        return $this->name;
37
    }
38
39
    public function getTitle()
40
    {
41
        return $this->title;
42
    }
43
}
44