Passed
Push — master ( 248c35...f550ad )
by Reyo
04:07
created

ProjectNote::setProjectId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 5
ccs 0
cts 4
cp 0
rs 10
cc 1
nc 1
nop 1
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the timechimp bundle package.
7
 * (c) Connect Holland.
8
 */
9
10
namespace ConnectHolland\TimechimpBundle\Api\Client\Model;
11
12
class ProjectNote
13
{
14
    /**
15
     * @var int
16
     */
17
    protected $id;
18
    /**
19
     * @var string
20
     */
21
    protected $description;
22
    /**
23
     * @var \DateTime
24
     */
25
    protected $date;
26
    /**
27
     * @var int
28
     */
29
    protected $projectId;
30
31
    public function getId(): int
32
    {
33
        return $this->id;
34
    }
35
36
    public function setId(int $id): self
37
    {
38
        $this->id = $id;
39
40
        return $this;
41
    }
42
43
    public function getDescription(): string
44
    {
45
        return $this->description;
46
    }
47
48
    public function setDescription(string $description): self
49
    {
50
        $this->description = $description;
51
52
        return $this;
53
    }
54
55
    public function getDate(): \DateTime
56
    {
57
        return $this->date;
58
    }
59
60
    public function setDate(\DateTime $date): self
61
    {
62
        $this->date = $date;
63
64
        return $this;
65
    }
66
67
    public function getProjectId(): int
68
    {
69
        return $this->projectId;
70
    }
71
72
    public function setProjectId(int $projectId): self
73
    {
74
        $this->projectId = $projectId;
75
76
        return $this;
77
    }
78
}
79