<?php

namespace Modules\Stock\Service\Export;

class DemandeServiceExportService extends AbstractExportService
{
    /**
     * @return array<string,array<string,string>>
     */
    public function getArchitecture(): array
    {
        return [
            'SE.NO_DS' => ['nomChamp' => $this->trad->t('N° DS'), 'type' => 'TEXT'],
            'SE.DTE_CREAT' => ['nomChamp' => $this->trad->t('Date de création'), 'type' => 'DATE'],
            'SE.TYPE_DEM' => ['nomChamp' => $this->trad->t('Type de demande'), 'type' => 'TEXT'],
            'SE.TIERS' => ['nomChamp' => $this->trad->t('Destinataire'), 'type' => 'TEXT'],
            'SE.SITE' => ['nomChamp' => $this->trad->t('Site d\'origine'), 'type' => 'TEXT'],
            'M.CONTMEMO' => ['nomChamp' => $this->trad->t('Commentaire'), 'type' => 'TEXTAREA'],
            'SE.SOLDE_DS' => ['nomChamp' => $this->trad->t('Etat'), 'type' => 'TEXT'],
            'SE.DTE_VALID' => ['nomChamp' => $this->trad->t('Date de validation'), 'type' => 'DATE'],
            'SE.CODE_STE' => ['nomChamp' => $this->trad->t('Code société'), 'type' => 'TEXT'],
            'SL.NO_LIG_DS' => ['nomChamp' => $this->trad->t('N° Ligne'), 'type' => 'TEXT'],
            'SL.ART' => ['nomChamp' => $this->trad->t('Article'), 'type' => 'TEXT'],
            'SL.QTE_DEM' => ['nomChamp' => $this->trad->t('Quantités demandées'), 'type' => 'NUMBER'],
            'SL.DTE_SOUH' => ['nomChamp' => $this->trad->t('Date souhaitée'), 'type' => 'DATE'],
            'SL.RESTE' => ['nomChamp' => $this->trad->t('Reste'), 'type' => 'NUMBER'],
            'SL.SECTIMP' => ['nomChamp' => $this->trad->t('Section d\'imputation'), 'type' => 'TEXT'],
            'SL.CODE_COMP' => ['nomChamp' => $this->trad->t('Code complémentaire'), 'type' => 'TEXT'],
            'SL.SSCPTEANA' => ['nomChamp' => $this->trad->t('Sous compte d\'analyse'), 'type' => 'TEXT'],
            'SL.CODGES' => ['nomChamp' => $this->trad->t('Code gestion'), 'type' => 'TEXT'],
            'SL.LIBGES' => ['nomChamp' => $this->trad->t('Libellé du code gestion'), 'type' => 'TEXTAREA'],
            'SL.ID_CG' => ['nomChamp' => $this->trad->t('ID code gestion'), 'type' => 'TEXT'],
            'SL.NO_DA' => ['nomChamp' => $this->trad->t('N° demande d\'achat'), 'type' => 'TEXT'],
            'SL.NO_PO_DA' => ['nomChamp' => $this->trad->t('N° de ligne de demande d\'achat'), 'type' => 'TEXT'],
        ];
    }
}
