Files
myep/src/BusProNet/Model/CrmSelection.php
T

30 lines
700 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', 'snapshot'])]
public ?int $id = null;
#[Groups(['api:single', 'snapshot'])]
public ?string $label = null;
#[Groups(['api:single', 'snapshot'])]
public bool $mutable = false;
#[Groups(['api:single', 'snapshot'])]
public bool $selected = false;
}