50 lines
875 B
PHP
50 lines
875 B
PHP
<?php
|
|
|
|
namespace App\BusProNet\Model;
|
|
|
|
class CrmAttribute
|
|
{
|
|
public const ATTR_ID_ADMIN = 1071;
|
|
public const ATTR_ID_MANAGER = 1072;
|
|
public const ATTR_ID_TEAMER = 1070;
|
|
|
|
private ?int $id = null;
|
|
private ?string $label = null;
|
|
private bool $selected = false;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function setId(?int $id): static
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getLabel(): ?string
|
|
{
|
|
return $this->label;
|
|
}
|
|
|
|
public function setLabel(?string $label): static
|
|
{
|
|
$this->label = $label;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function isSelected(): bool
|
|
{
|
|
return $this->selected;
|
|
}
|
|
|
|
public function setSelected(bool $selected): static
|
|
{
|
|
$this->selected = $selected;
|
|
|
|
return $this;
|
|
}
|
|
} |