Passed
Push — master ( 851b23...843c0b )
by
02:56
created

User::getLineActiveCmd()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 3
Ratio 100 %

Importance

Changes 0
Metric Value
dl 3
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace LineMob\Core\Mocky\Doctrine\Model;
4
5
use LineMob\Core\Storage\CommandData;
6
use LineMob\Core\Storage\CommandDataInterface;
7
8
/**
9
 * @Entity
10
 * @Table(name="user")
11
 */
12
class User extends CommandData implements CommandDataInterface
13
{
14
    /**
15
     * @Id
16
     * @GeneratedValue
17
     * @Column(type="integer")
18
     */
19
    protected $id;
20
21
    /**
22
     * @Column(type="string", nullable=true)
23
     */
24
    protected $lineUserId;
25
26
    /**
27
     * @Column(type="string", nullable=true)
28
     */
29
    protected $lineActiveCmd;
30
31
    /**
32
     * @Column(type="array", nullable=true)
33
     */
34
    protected $lineCommandData;
35
36
    /**
37
     * @return int
38
     */
39
    public function getId()
40
    {
41
        return $this->id;
42
    }
43
}
44