58 lines
1.1 KiB
PHP
58 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\BusProNet\Model;
|
|
|
|
class CrmAttributesResponse extends BaseResponse
|
|
{
|
|
private ?array $attributeGroups = null;
|
|
private bool $admin = false;
|
|
private bool $manager = false;
|
|
private bool $teamer = false;
|
|
|
|
public function getAttributeGroups(): ?array
|
|
{
|
|
return $this->attributeGroups;
|
|
}
|
|
|
|
public function setAttributeGroups(?array $attributeGroups): static{
|
|
$this->attributeGroups = $attributeGroups;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function isTeamer(): bool
|
|
{
|
|
return $this->teamer;
|
|
}
|
|
|
|
public function setTeamer(bool $teamer): static
|
|
{
|
|
$this->teamer = $teamer;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function isAdmin(): bool
|
|
{
|
|
return $this->admin;
|
|
}
|
|
|
|
public function setAdmin(bool $admin): static
|
|
{
|
|
$this->admin = $admin;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function isManager(): bool
|
|
{
|
|
return $this->manager;
|
|
}
|
|
|
|
public function setManager(bool $manager): static
|
|
{
|
|
$this->manager = $manager;
|
|
|
|
return $this;
|
|
}
|
|
} |