Passed
Push — master ( 354d5b...4607a5 )
by Reyo
02:27
created

ProjectInsights   A

Complexity

Total Complexity 24

Size/Duplication

Total Lines 193
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 49
c 1
b 0
f 0
dl 0
loc 193
ccs 0
cts 107
cp 0
rs 10
wmc 24
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\Model;
11
12
class ProjectInsights
13
{
14
    /**
15
     * @var float|null
16
     */
17
    protected $totalHours;
18
    /**
19
     * @var float|null
20
     */
21
    protected $totalHoursBillable;
22
    /**
23
     * @var float|null
24
     */
25
    protected $totalHoursNonBillable;
26
    /**
27
     * @var float|null
28
     */
29
    protected $totalUninvoiced;
30
    /**
31
     * @var float|null
32
     */
33
    protected $totalInvoiced;
34
    /**
35
     * @var float|null
36
     */
37
    protected $totalWrittenOff;
38
    /**
39
     * @var float|null
40
     */
41
    protected $totalScheduled;
42
    /**
43
     * @var int|null
44
     */
45
    protected $budgetPercentage;
46
    /**
47
     * @var float|null
48
     */
49
    protected $budget;
50
    /**
51
     * @var float|null
52
     */
53
    protected $spend;
54
    /**
55
     * @var float|null
56
     */
57
    protected $remainingBudget;
58
    /**
59
     * @var float|null
60
     */
61
    protected $costs;
62
63
    public function getTotalHours(): ?float
64
    {
65
        return $this->totalHours;
66
    }
67
68
    public function setTotalHours(?float $totalHours): self
69
    {
70
        $this->totalHours = $totalHours;
71
72
        return $this;
73
    }
74
75
    public function getTotalHoursBillable(): ?float
76
    {
77
        return $this->totalHoursBillable;
78
    }
79
80
    public function setTotalHoursBillable(?float $totalHoursBillable): self
81
    {
82
        $this->totalHoursBillable = $totalHoursBillable;
83
84
        return $this;
85
    }
86
87
    public function getTotalHoursNonBillable(): ?float
88
    {
89
        return $this->totalHoursNonBillable;
90
    }
91
92
    public function setTotalHoursNonBillable(?float $totalHoursNonBillable): self
93
    {
94
        $this->totalHoursNonBillable = $totalHoursNonBillable;
95
96
        return $this;
97
    }
98
99
    public function getTotalUninvoiced(): ?float
100
    {
101
        return $this->totalUninvoiced;
102
    }
103
104
    public function setTotalUninvoiced(?float $totalUninvoiced): self
105
    {
106
        $this->totalUninvoiced = $totalUninvoiced;
107
108
        return $this;
109
    }
110
111
    public function getTotalInvoiced(): ?float
112
    {
113
        return $this->totalInvoiced;
114
    }
115
116
    public function setTotalInvoiced(?float $totalInvoiced): self
117
    {
118
        $this->totalInvoiced = $totalInvoiced;
119
120
        return $this;
121
    }
122
123
    public function getTotalWrittenOff(): ?float
124
    {
125
        return $this->totalWrittenOff;
126
    }
127
128
    public function setTotalWrittenOff(?float $totalWrittenOff): self
129
    {
130
        $this->totalWrittenOff = $totalWrittenOff;
131
132
        return $this;
133
    }
134
135
    public function getTotalScheduled(): ?float
136
    {
137
        return $this->totalScheduled;
138
    }
139
140
    public function setTotalScheduled(?float $totalScheduled): self
141
    {
142
        $this->totalScheduled = $totalScheduled;
143
144
        return $this;
145
    }
146
147
    public function getBudgetPercentage(): ?int
148
    {
149
        return $this->budgetPercentage;
150
    }
151
152
    public function setBudgetPercentage(?int $budgetPercentage): self
153
    {
154
        $this->budgetPercentage = $budgetPercentage;
155
156
        return $this;
157
    }
158
159
    public function getBudget(): ?float
160
    {
161
        return $this->budget;
162
    }
163
164
    public function setBudget(?float $budget): self
165
    {
166
        $this->budget = $budget;
167
168
        return $this;
169
    }
170
171
    public function getSpend(): ?float
172
    {
173
        return $this->spend;
174
    }
175
176
    public function setSpend(?float $spend): self
177
    {
178
        $this->spend = $spend;
179
180
        return $this;
181
    }
182
183
    public function getRemainingBudget(): ?float
184
    {
185
        return $this->remainingBudget;
186
    }
187
188
    public function setRemainingBudget(?float $remainingBudget): self
189
    {
190
        $this->remainingBudget = $remainingBudget;
191
192
        return $this;
193
    }
194
195
    public function getCosts(): ?float
196
    {
197
        return $this->costs;
198
    }
199
200
    public function setCosts(?float $costs): self
201
    {
202
        $this->costs = $costs;
203
204
        return $this;
205
    }
206
}
207