1 | <?php |
||
16 | class CreateExpenseNoteCommand |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | private $year; |
||
23 | |||
24 | /** |
||
25 | * @var int |
||
26 | */ |
||
27 | private $quartile; |
||
28 | |||
29 | /** |
||
30 | * @var int |
||
31 | */ |
||
32 | private $userValidatorId; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | private $privateNote; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | private $publicNote; |
||
43 | |||
44 | /** |
||
45 | * @param int $year |
||
46 | * @param int $quartile |
||
47 | * @param int $userValidatorId |
||
48 | * @param string $privateNote |
||
49 | * @param string $publicNote |
||
50 | * |
||
51 | * @throws PeriodNotFinishedException |
||
52 | */ |
||
53 | public function __construct($year, $quartile, $userValidatorId, $privateNote, $publicNote) |
||
79 | |||
80 | /** |
||
81 | * @return int |
||
82 | */ |
||
83 | public function getYear() |
||
87 | |||
88 | /** |
||
89 | * @return int |
||
90 | */ |
||
91 | public function getQuartile() |
||
95 | |||
96 | /** |
||
97 | * @return int |
||
98 | */ |
||
99 | public function getUserValidatorId() |
||
103 | |||
104 | /** |
||
105 | * @return string |
||
106 | */ |
||
107 | public function getPrivateNote() |
||
111 | |||
112 | /** |
||
113 | * @return string |
||
114 | */ |
||
115 | public function getPublicNote() |
||
119 | } |