Completed
Push — master ( 4070c1...e0ce4d )
by Kirill
02:21
created

PointLog::getId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Chrl\AppBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * Class Message
9
 * @package AppBundle\Entity
10
 *
11
 * @ORM\Entity
12
 * @ORM\Table(name="points_log")
13
 */
14
class PointLog
15
{
16
    /**
17
     * @ORM\Id
18
     * @ORM\Column(type="integer")
19
     * @ORM\GeneratedValue(strategy="AUTO")
20
     */
21
    protected $id;
22
23
    /**
24
     * @return mixed
25
     */
26
    public function getId()
27
    {
28
        return $this->id;
29
    }
30
31
    /**
32
     * @param mixed $id
33
     */
34
    public function setId($id)
35
    {
36
        $this->id = $id;
37
    }
38
39
    /**
40
     * @ORM\Column(name="date", type="datetime")
41
     */
42
    public $date;
43
44
    /**
45
     * @ORM\Column(type="bigint")
46
     */
47
    public $userId;
48
49
    /**
50
     * @ORM\Column(type="bigint")
51
     */
52
    public $gameId;
53
54
    /**
55
     * @ORM\Column(type="integer")
56
     */
57
    public $day;
58
    /**
59
     * @ORM\Column(type="integer")
60
     */
61
    public $month;
62
    /**
63
     * @ORM\Column(type="integer")
64
     */
65
    public $year;
66
67
    /**
68
     * @ORM\Column(type="bigint")
69
     */
70
    public $points;
71
}
72