1 | <?php |
||
8 | class Customer extends Person |
||
9 | { |
||
10 | /** |
||
11 | * @var int |
||
12 | */ |
||
13 | private $code; |
||
14 | |||
15 | /** |
||
16 | * @var int |
||
17 | */ |
||
18 | private $identityNumber; |
||
19 | |||
20 | /** |
||
21 | * @var bool |
||
22 | */ |
||
23 | private $helpfulMaturity; |
||
24 | |||
25 | /** |
||
26 | * @var int |
||
27 | */ |
||
28 | private $workingDays; |
||
29 | |||
30 | /** |
||
31 | * @return int |
||
32 | */ |
||
33 | 1 | public function getCode(): int |
|
37 | |||
38 | /** |
||
39 | * @param int $code |
||
40 | */ |
||
41 | 2 | public function setCode(int $code) |
|
45 | |||
46 | /** |
||
47 | * @return int |
||
48 | */ |
||
49 | 1 | public function getIdentityNumber(): int |
|
53 | |||
54 | /** |
||
55 | * @param int $identityNumber |
||
56 | */ |
||
57 | 1 | public function setIdentityNumber(int $identityNumber) |
|
61 | |||
62 | /** |
||
63 | * @return mixed |
||
64 | */ |
||
65 | 1 | public function getHelpfulMaturity(): bool |
|
69 | |||
70 | /** |
||
71 | * @param boolean $helpfulMaturity |
||
72 | */ |
||
73 | 1 | public function setHelpfulMaturity(bool $helpfulMaturity = true) |
|
77 | |||
78 | /** |
||
79 | * @return int |
||
80 | */ |
||
81 | 1 | public function getWorkingDays(): int |
|
85 | |||
86 | /** |
||
87 | * @param int $workingDays |
||
88 | */ |
||
89 | 1 | public function setWorkingDays(int $workingDays) |
|
93 | } |
||
94 |