1 | <?php |
||
8 | class Base implements BaseInterface |
||
9 | { |
||
10 | /** @var int */ |
||
11 | protected $id = 0; |
||
12 | /** @var string */ |
||
13 | protected $accountKey = ''; |
||
14 | /** @var bool */ |
||
15 | protected $isOwner = false; |
||
16 | /** @var int */ |
||
17 | protected $updatedAt; |
||
18 | /** @var int */ |
||
19 | protected $archivedAt; |
||
20 | /** @var bool */ |
||
21 | protected $isDeleted = false; |
||
22 | |||
23 | /** |
||
24 | * @return int |
||
25 | */ |
||
26 | 1 | public function getId() :int |
|
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | 1 | public function getAccountKey() :string |
|
38 | |||
39 | /** |
||
40 | * @return bool |
||
41 | */ |
||
42 | 1 | public function isOwner() :bool |
|
46 | |||
47 | /** |
||
48 | * @return int |
||
49 | */ |
||
50 | 1 | public function getUpdatedAt() :?int |
|
54 | |||
55 | /** |
||
56 | * @return int |
||
57 | */ |
||
58 | 1 | public function getArchivedAt() :?int |
|
62 | |||
63 | /** |
||
64 | * @return bool |
||
65 | */ |
||
66 | 1 | public function isDeleted() : bool |
|
70 | } |
||
71 |