feat: multiple hotelcodes assignable to users
This commit is contained in:
1 parent
5a07d95837
commit
c15188c43c
16 files changed
+256
-67
No files matched your search
@@ -9,7 +9,7 @@ class CrmAttributesResponse
|
||||
private bool $manager = false;
|
||||
private bool $houseManager = false;
|
||||
private bool $teamer = false;
|
||||
private ?string $hotelCode = null;
|
||||
private array $hotelCodes = [];
|
||||
|
||||
public function getAttributeGroups(): ?array
|
||||
{
|
||||
@@ -70,14 +70,14 @@ class CrmAttributesResponse
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getHotelCode(): ?string
|
||||
public function getHotelCodes(): array
|
||||
{
|
||||
return $this->hotelCode;
|
||||
return $this->hotelCodes;
|
||||
}
|
||||
|
||||
public function setHotelCode(?string $hotelCode): static
|
||||
public function setHotelCodes(array $hotelCodes): static
|
||||
{
|
||||
$this->hotelCode = $hotelCode;
|
||||
$this->hotelCodes = $hotelCodes;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user