Completed
Push — master ( 9e7daa...79826f )
by Mauro
02:15
created

Incidence::getSecond()   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 Incidence
7
 *
8
 * @package MauroMoreno\DataFactory\Entity
9
 */
10
class Incidence
11
{
12
13
    /**
14
     * @var int
15
     */
16
    private $id;
17
18
    /**
19
     * @var int
20
     */
21
    private $incidence_id;
22
23
    /**
24
     * @var int
25
     */
26
    private $minute;
27
28
    /**
29
     * @var int
30
     */
31
    private $second;
32
33
    /**
34
     * @var int
35
     */
36
    private $order;
37
38
    /**
39
     * @var string
40
     */
41
    private $time;
42
43
    /**
44
     * @var string
45
     */
46
    private $type;
47
48
    /**
49
     * @return int
50
     */
51
    public function getId(): int
52
    {
53
        return $this->id;
54
    }
55
56
    /**
57
     * @param int $id
58
     *
59
     * @return Incidence
60
     */
61
    public function setId(int $id): Incidence
62
    {
63
        $this->id = $id;
64
        return $this;
65
    }
66
67
    /**
68
     * @return int
69
     */
70
    public function getIncidenceId(): int
71
    {
72
        return $this->incidence_id;
73
    }
74
75
    /**
76
     * @param int $incidence_id
77
     *
78
     * @return Incidence
79
     */
80
    public function setIncidenceId(int $incidence_id): Incidence
81
    {
82
        $this->incidence_id = $incidence_id;
83
        return $this;
84
    }
85
86
    /**
87
     * @return int
88
     */
89
    public function getMinute(): int
90
    {
91
        return $this->minute;
92
    }
93
94
    /**
95
     * @param int $minute
96
     *
97
     * @return Incidence
98
     */
99
    public function setMinute(int $minute): Incidence
100
    {
101
        $this->minute = $minute;
102
        return $this;
103
    }
104
105
    /**
106
     * @return int
107
     */
108
    public function getOrder(): int
109
    {
110
        return $this->order;
111
    }
112
113
    /**
114
     * @param int $order
115
     *
116
     * @return Incidence
117
     */
118
    public function setOrder(int $order): Incidence
119
    {
120
        $this->order = $order;
121
        return $this;
122
    }
123
124
    /**
125
     * @return int
126
     */
127
    public function getSecond(): int
128
    {
129
        return $this->second;
130
    }
131
132
    /**
133
     * @param int $second
134
     *
135
     * @return Incidence
136
     */
137
    public function setSecond(int $second): Incidence
138
    {
139
        $this->second = $second;
140
        return $this;
141
    }
142
143
    /**
144
     * @return string
145
     */
146
    public function getTime(): string
147
    {
148
        return $this->time;
149
    }
150
151
    /**
152
     * @param string $time
153
     *
154
     * @return Incidence
155
     */
156
    public function setTime(string $time): Incidence
157
    {
158
        $this->time = $time;
159
        return $this;
160
    }
161
162
    /**
163
     * @return string
164
     */
165
    public function getType(): string
166
    {
167
        return $this->type;
168
    }
169
170
    /**
171
     * @param string $type
172
     *
173
     * @return Incidence
174
     */
175
    public function setType(string $type): Incidence
176
    {
177
        $this->type = $type;
178
        return $this;
179
    }
180
181
}
182