35 lines
666 B
PHP
35 lines
666 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\BusProNet\Model;
|
|
|
|
/**
|
|
* Represents CRM attributes with role and permission information.
|
|
*
|
|
* This class handles CRM system attributes including selection groups,
|
|
* actions, user roles, and hotel assignments for access control.
|
|
*/
|
|
class CrmAttributes
|
|
{
|
|
/**
|
|
* @var array<int, CrmSelectionGroup>|null
|
|
*/
|
|
public ?array $selectionGroups = null;
|
|
|
|
/**
|
|
* @var array<int, CrmAction>|null
|
|
*/
|
|
public ?array $crmActions = null;
|
|
|
|
/**
|
|
* @var array<int, string>
|
|
*/
|
|
public array $hotelCodes = [];
|
|
|
|
/**
|
|
* @var array<int, string>
|
|
*/
|
|
public array $roles = [];
|
|
}
|