30 lines
652 B
PHP
30 lines
652 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\BusProNet\Model;
|
|
|
|
use Symfony\Component\Serializer\Attribute\Groups;
|
|
|
|
/**
|
|
* Represents a CRM selection with configuration and state information.
|
|
*
|
|
* This class handles CRM selection data including identification, labeling,
|
|
* mutability status, and selection state. It provides serialization groups
|
|
* for API responses.
|
|
*/
|
|
class CrmSelection
|
|
{
|
|
#[Groups(['api:single'])]
|
|
public ?int $id = null;
|
|
|
|
#[Groups(['api:single'])]
|
|
public ?string $label = null;
|
|
|
|
#[Groups(['api:single'])]
|
|
public bool $mutable = false;
|
|
|
|
#[Groups(['api:single'])]
|
|
public bool $selected = false;
|
|
}
|