<?php
 namespace App\Reports\Sources\UsersAccess; class ColumnsManager extends \App\Reports\Sources\ColumnsManagerAbstract { protected array $columnsCfg = [ 'id' => ['type' => 'string', 'dbDef' => "VARCHAR(160) NOT NULL", 'cat' => "general", 'disabled' => true], 'idUser' => ['type' => 'numeric', 'dbDef' => "SMALLINT UNSIGNED NOT NULL DEFAULT '0'", 'cat' => "general"], 'firstName' => ['type' => 'string', 'dbDef' => "VARCHAR(50) NOT NULL DEFAULT ''", 'cat' => "general"], 'lastName' => ['type' => 'string', 'dbDef' => "VARCHAR(50) NOT NULL DEFAULT ''", 'cat' => "general"], 'userProcessedRemarks' => ['type' => 'string', 'dbDef' => "TEXT NOT NULL", 'cat' => "general", 'disabled' => true, 'content' => 'remarks'], 'idOffice' => ['type' => 'numeric', 'dbDef' => "SMALLINT UNSIGNED NOT NULL DEFAULT '0'", 'cat' => "general"], 'officeName' => ['type' => 'string', 'dbDef' => "VARCHAR(150) NOT NULL DEFAULT ''", 'cat' => "general"], 'idDepartment' => ['type' => 'numeric', 'dbDef' => "SMALLINT UNSIGNED NOT NULL DEFAULT '0'", 'cat' => "general"], 'departmentName' => ['type' => 'string', 'dbDef' => "VARCHAR(100) NOT NULL DEFAULT ''", 'cat' => "general"], 'idProfile' => ['type' => 'numeric', 'dbDef' => "SMALLINT UNSIGNED NOT NULL  DEFAULT '0'", 'cat' => "general"], 'profileName' => ['type' => 'string', 'dbDef' => "VARCHAR(100) NOT NULL DEFAULT ''", 'cat' => "general"], 'idSection' => ['type' => 'string', 'dbDef' => "VARCHAR(250) NOT NULL", 'cat' => "general"], 'sectionName' => ['type' => 'string', 'dbDef' => "VARCHAR(500) NOT NULL", 'cat' => "general"], 'type' => ['type' => 'string', 'dbDef' => "ENUM('section','option') NOT NULL DEFAULT 'section'", 'cat' => "general"], 'optionValue' => ['type' => 'string', 'dbDef' => "VARCHAR(3000) NOT NULL DEFAULT ''", 'cat' => "general"], ]; protected string $primaryKeyColumn = 'id'; protected array $forcedColumns = [ ]; protected array $columnsDependencies = [ 'officeName' => ['idOffice'], 'departmentName' => ['idDepartment'], 'sectionName' => ['idSection', 'type'], 'profileName' => ['idProfile'], ]; }