Appointment
4 months ago
Event
6 months ago
AbstractBooking.php
4 months ago
AbstractCustomerBooking.php
6 months ago
Reservation.php
6 months ago
SlotsEntities.php
6 months ago
SlotsEntities.php
95 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @copyright © Melograno Ventures. All rights reserved. |
| 5 | * @licence See LICENCE.md for license details. |
| 6 | */ |
| 7 | |
| 8 | namespace AmeliaBooking\Domain\Entity\Booking; |
| 9 | |
| 10 | use AmeliaBooking\Domain\Collection\Collection; |
| 11 | |
| 12 | /** |
| 13 | * Class SlotsEntities |
| 14 | * |
| 15 | * @package AmeliaBooking\Domain\Entity\Booking |
| 16 | */ |
| 17 | class SlotsEntities |
| 18 | { |
| 19 | /** @var Collection */ |
| 20 | private $services; |
| 21 | |
| 22 | /** @var Collection */ |
| 23 | private $providers; |
| 24 | |
| 25 | /** @var Collection */ |
| 26 | private $locations; |
| 27 | |
| 28 | /** @var Collection */ |
| 29 | private $resources; |
| 30 | |
| 31 | /** |
| 32 | * @return Collection |
| 33 | */ |
| 34 | public function getServices() |
| 35 | { |
| 36 | return $this->services; |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * @param Collection $services |
| 41 | */ |
| 42 | public function setServices(Collection $services) |
| 43 | { |
| 44 | $this->services = $services; |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * @return Collection |
| 49 | */ |
| 50 | public function getProviders() |
| 51 | { |
| 52 | return $this->providers; |
| 53 | } |
| 54 | |
| 55 | /** |
| 56 | * @param Collection $providers |
| 57 | */ |
| 58 | public function setProviders(Collection $providers) |
| 59 | { |
| 60 | $this->providers = $providers; |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * @return Collection |
| 65 | */ |
| 66 | public function getLocations() |
| 67 | { |
| 68 | return $this->locations; |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * @param Collection $locations |
| 73 | */ |
| 74 | public function setLocations(Collection $locations) |
| 75 | { |
| 76 | $this->locations = $locations; |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * @return Collection |
| 81 | */ |
| 82 | public function getResources() |
| 83 | { |
| 84 | return $this->resources; |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * @param Collection $resources |
| 89 | */ |
| 90 | public function setResources(Collection $resources) |
| 91 | { |
| 92 | $this->resources = $resources; |
| 93 | } |
| 94 | } |
| 95 |