<?php
declare(strict_types=1);

const AI_TABLES = [
    'cases' => [
        'main'      => 'cases',
        'sessions'  => 'case_sessions',
        'files'     => 'case_files',
        'hearings'  => 'hearings',
    ],
    'clients' => [
        'main'      => 'clients',
        'contacts'  => 'contacts',
    ],
    'employees' => [
        'main'       => 'employees',
        'users'      => 'users',
        'lawyers'    => 'lawyers',
        'attendance' => 'attendance',
    ],
    'payroll' => [
        'salaries'   => 'employee_salaries',
        'bonuses'    => 'employee_bonuses',
        'deductions' => 'employee_deductions',
        'advances'   => 'employee_advances',
        'runs'       => 'payroll_runs',
        'items'      => 'payroll_items',
    ],
    'finance' => [
        'expenses'    => 'financial_expenses',
        'income'      => 'financial_income',
        'transactions'=> 'transactions',
        'invoices'    => 'invoices',
        'payments'    => 'payments',
        'adjustments' => 'finance_adjustments',
    ],
    'laws' => [
        'laws'           => 'laws',
        'articles'       => 'laws_articles',
        'legal_laws'     => 'legal_laws',
        'legal_articles' => 'legal_articles',
    ],
    'documents' => [
        'documents'   => 'documents',
        'files'       => 'files',
    ],
];