| 1 | <?php |
||
| 10 | class StatisticValueObject |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | private $id; |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $name; |
||
| 20 | /** |
||
| 21 | * @var int |
||
| 22 | */ |
||
| 23 | private $quantity; |
||
| 24 | /** |
||
| 25 | * @var int |
||
| 26 | */ |
||
| 27 | private $lastUpdated; |
||
| 28 | /** |
||
| 29 | * @var bool |
||
| 30 | */ |
||
| 31 | private $money; |
||
| 32 | /** |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | private $highest; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * StatisticValueObject constructor. |
||
| 39 | * @param int $id |
||
| 40 | * @param string $name |
||
| 41 | * @param int $quantity |
||
| 42 | * @param int $lastUpdated |
||
| 43 | * @param bool $money |
||
| 44 | * @param string $highest |
||
| 45 | */ |
||
| 46 | public function __construct( |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return int |
||
| 64 | */ |
||
| 65 | public function getId() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @return string |
||
| 72 | */ |
||
| 73 | public function getName() |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @return int |
||
| 80 | */ |
||
| 81 | public function getQuantity() |
||
| 85 | |||
| 86 | /** |
||
| 87 | * @return int |
||
| 88 | */ |
||
| 89 | public function getLastUpdated() |
||
| 93 | |||
| 94 | /** |
||
| 95 | * @return bool |
||
| 96 | */ |
||
| 97 | public function isMoney() |
||
| 101 | |||
| 102 | /** |
||
| 103 | * @return string |
||
| 104 | */ |
||
| 105 | public function getHighest() |
||
| 109 | } |
||
| 110 |