Passed
Push — master ( 536df1...9e7daa )
by Mauro
04:16
created

MatchSheet::setHourStatus()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 0
cts 5
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
3
namespace MauroMoreno\DataFactory\Entity;
4
5
/**
6
 * Class MatchSheet
7
 *
8
 * @package MauroMoreno\DataFactory\Entity
9
 */
10
class MatchSheet
11
{
12
13
    /**
14
     * @var int
15
     */
16
    private $id;
17
18
    /**
19
     * @var int
20
     */
21
    private $date;
22
23
    /**
24
     * @var string
25
     */
26
    private $day;
27
28
    /**
29
     * @var string
30
     */
31
    private $hour;
32
33
    /**
34
     * @var string
35
     */
36
    private $hour_status;
37
38
    /**
39
     * @var string
40
     */
41
    private $instance;
42
43
    /**
44
     * @var Status
45
     */
46
    private $status;
47
48
    /**
49
     * @var Team[]
50
     */
51
    private $teams;
52
53
    /**
54
     * @var string
55
     */
56
    private $type;
57
58
    /**
59
     * @var int
60
     */
61
    private $timezone;
62
63
    /**
64
     * @return int
65
     */
66
    public function getId(): int
67
    {
68
        return $this->id;
69
    }
70
71
    /**
72
     * @param int $id
73
     *
74
     * @return MatchSheet
75
     */
76
    public function setId(int $id): MatchSheet
77
    {
78
        $this->id = $id;
79
        return $this;
80
    }
81
82
    /**
83
     * @return int
84
     */
85
    public function getDate(): int
86
    {
87
        return $this->date;
88
    }
89
90
    /**
91
     * @param int $date
92
     *
93
     * @return MatchSheet
94
     */
95
    public function setDate(int $date): MatchSheet
96
    {
97
        $this->date = $date;
98
        return $this;
99
    }
100
101
    /**
102
     * @return string
103
     */
104
    public function getDay(): string
105
    {
106
        return $this->day;
107
    }
108
109
    /**
110
     * @param string $day
111
     *
112
     * @return MatchSheet
113
     */
114
    public function setDay(string $day): MatchSheet
115
    {
116
        $this->day = $day;
117
        return $this;
118
    }
119
120
    /**
121
     * @return string
122
     */
123
    public function getHour(): string
124
    {
125
        return $this->hour;
126
    }
127
128
    /**
129
     * @param string $hour
130
     *
131
     * @return MatchSheet
132
     */
133
    public function setHour(string $hour): MatchSheet
134
    {
135
        $this->hour = $hour;
136
        return $this;
137
    }
138
139
    /**
140
     * @return string
141
     */
142
    public function getHourStatus(): string
143
    {
144
        return $this->hour_status;
145
    }
146
147
    /**
148
     * @param string $hour_status
149
     *
150
     * @return MatchSheet
151
     */
152
    public function setHourStatus(string $hour_status): MatchSheet
153
    {
154
        $this->hour_status = $hour_status;
155
        return $this;
156
    }
157
158
    /**
159
     * @return string
160
     */
161
    public function getInstance(): string
162
    {
163
        return $this->instance;
164
    }
165
166
    /**
167
     * @param string $instance
168
     *
169
     * @return MatchSheet
170
     */
171
    public function setInstance(string $instance): MatchSheet
172
    {
173
        $this->instance = $instance;
174
        return $this;
175
    }
176
177
    /**
178
     * @return Status
179
     */
180
    public function getStatus(): Status
181
    {
182
        return $this->status;
183
    }
184
185
    /**
186
     * @param Status $status
187
     *
188
     * @return MatchSheet
189
     */
190
    public function setStatus(Status $status): MatchSheet
191
    {
192
        $this->status = $status;
193
        return $this;
194
    }
195
196
    /**
197
     * @return Team[]
198
     */
199
    public function getTeams(): array
200
    {
201
        return $this->teams;
202
    }
203
204
    /**
205
     * @param \MauroMoreno\DataFactory\Entity\Team[] $teams
206
     *
207
     * @return MatchSheet
208
     */
209
    public function setTeams(array $teams): MatchSheet
210
    {
211
        $this->teams = $teams;
212
        return $this;
213
    }
214
215
    /**
216
     * @return int
217
     */
218
    public function getTimezone(): int
219
    {
220
        return $this->timezone;
221
    }
222
223
    /**
224
     * @param int $timezone
225
     *
226
     * @return MatchSheet
227
     */
228
    public function setTimezone(int $timezone): MatchSheet
229
    {
230
        $this->timezone = $timezone;
231
        return $this;
232
    }
233
234
    /**
235
     * @return string
236
     */
237
    public function getType(): string
238
    {
239
        return $this->type;
240
    }
241
242
    /**
243
     * @param string $type
244
     *
245
     * @return MatchSheet
246
     */
247
    public function setType(string $type): MatchSheet
248
    {
249
        $this->type = $type;
250
        return $this;
251
    }
252
253
}
254