| 1 | <?php |
||
| 16 | class EmployeesResponse extends AbstractPaginatedModel |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var Employee[] |
||
| 20 | * @Type("array<App\Entity\Employee>") |
||
| 21 | * @Expose |
||
| 22 | */ |
||
| 23 | protected $employees; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var int |
||
| 27 | * |
||
| 28 | * @Type("integer") |
||
| 29 | * @Accessor(getter="getCount") |
||
| 30 | * @Expose |
||
| 31 | */ |
||
| 32 | protected $count; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return mixed |
||
| 36 | */ |
||
| 37 | 2 | public function getEmployees() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @param mixed $employees |
||
| 44 | * @return $this |
||
| 45 | */ |
||
| 46 | 2 | public function setEmployees($employees) |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return int |
||
| 55 | */ |
||
| 56 | 2 | public function getCount() |
|
| 60 | } |
||
| 61 |