Completed
Push — master ( 830035...536df1 )
by Mauro
02:22
created

MatchSheet::getStatus()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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