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

ProjectNote   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 65
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 8
eloc 17
c 1
b 0
f 0
dl 0
loc 65
ccs 0
cts 35
cp 0
rs 10

8 Methods

Rating   Name   Duplication   Size   Complexity  
A getDescription() 0 3 1
A setDate() 0 5 1
A getId() 0 3 1
A setDescription() 0 5 1
A getProjectId() 0 3 1
A setProjectId() 0 5 1
A setId() 0 5 1
A getDate() 0 3 1
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