Completed
Push — master ( 116dd8...98663d )
by Al3x
02:26
created

Base::getUpdatedAt()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace InvoiceNinjaModule\Model;
4
5
use InvoiceNinjaModule\Model\Interfaces\BaseInterface;
6
7
class Base implements BaseInterface
8
{
9
    /** @var  int */
10
    protected $id;
11
    /** @var  string */
12
    protected $accountKey;
13
    /** @var  bool */
14
    protected $isOwner;
15
    /** @var  int */
16
    protected $updatedAt;
17
    /** @var  int */
18
    protected $archivedAt;
19
    /** @var  bool */
20
    protected $isDeleted;
21
22
    /**
23
     * @return int
24
     */
25
    public function getId() :int
26
    {
27
        return $this->id;
28
    }
29
30
    /**
31
     * @return string
32
     */
33
    public function getAccountKey() :string
34
    {
35
        return $this->accountKey;
36
    }
37
38
    /**
39
     * @return bool
40
     */
41
    public function isOwner() :bool
42
    {
43
        return $this->isOwner;
44
    }
45
46
    /**
47
     * @return int
48
     */
49
    public function getUpdatedAt() :?int
50
    {
51
        return $this->updatedAt;
52
    }
53
54
    /**
55
     * @return int
56
     */
57
    public function getArchivedAt() :?int
58
    {
59
        return $this->archivedAt;
60
    }
61
62
    /**
63
     * @return bool
64
     */
65
    public function isDeleted() : bool
66
    {
67
        return $this->isDeleted;
68
    }
69
}
70