| 1 | <?php |
||
| 10 | class CriteriaValueObject |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | private $id; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $description; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var int |
||
| 24 | */ |
||
| 25 | private $orderIndex; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var int |
||
| 29 | */ |
||
| 30 | private $max; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * CriteriaValueObject constructor. |
||
| 34 | * @param int $id |
||
| 35 | * @param string $description |
||
| 36 | * @param int $orderIndex |
||
| 37 | * @param int $max |
||
| 38 | */ |
||
| 39 | public function __construct( |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return int |
||
| 53 | */ |
||
| 54 | public function getId() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return string |
||
| 61 | */ |
||
| 62 | public function getDescription() |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @return int |
||
| 69 | */ |
||
| 70 | public function getOrderIndex() |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @return int |
||
| 77 | */ |
||
| 78 | public function getMax() |
||
| 82 | } |
||
| 83 |