<?php

namespace Modules\Parametrage\Consultation\Service;

use Entity\Model\Paravrac;
use Helpers\Outil\Sql;
use Helpers\Trad\ITrad;
use Helpers\Validator\Validator;

class ParamConsultationService
{
    /**
     * @return array<mixed>
     */
    
    public function getInputFonctionnel(): array
    {
        return [
            [
                'type' => 'SWITCH',
                'TYPEPARV' => 'AO_VAL_FOU',
                'CODEPARV' => 'ACTIF',
                'inverted' => true
            ],
            [
                'type' => 'SWITCH',
                'TYPEPARV' => 'AO_NOMAJAF',
                'CODEPARV' => 'ACTIF',
                'inverted' => true
            ],
            [
                'type' => 'SWITCH',
                'TYPEPARV' => 'PARAMGEN',
                'CODEPARV' => 'AO_AFF_CODE_ART',
            ],
            [
                'type' => 'SWITCH',
                'TYPEPARV' => 'PARAMGEN',
                'CODEPARV' => 'AO_AFF_CODE_REF_FAB',
            ],
            [
                'type' => 'SWITCH',
                'TYPEPARV' => 'PARAMGEN',
                'CODEPARV' => 'AO_AFF_REF_ART_FOUR',
            ],
            [
                'type' => 'SWITCH',
                'TYPEPARV' => 'PARAMGEN',
                'CODEPARV' => 'AO_ACC_CONF_VAL_ACH',
            ],
        ];
    }

    /**
     * Summary of getInputEntete
     * @return array<mixed>
     */
    public function getInputEntete(): array
    {
        return [
            'CONSULT_CREAT_AO_PUBLIC' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_ACC_CONF' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_VARIANTE' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_REPDEV' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_COMMENT_INT' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_OBJET_AO' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_DESCR' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_CODE_STE' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_EMETTEUR' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_BUDG_ENT' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_DEVISE' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_PRESCRIPTEUR' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_ACH' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_CONTRIBUTEURS' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_DTE_LANCEMENT' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_HEURE_LANCEMENT' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_DEL_REP' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
            'CONSULT_CREAT_HEURE_CLOTURE' => [
                'type' => 'SWITCH',
                'TYPEPARV' => 'OXAPROC'
            ],
        ];
    }
}
