feat: multiple hotelcodes assignable to users
This commit is contained in:
@@ -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