<?php

namespace Modules\Stock\Service\Export;

class IndisponibiliteExportService extends AbstractExportService
{
    /**
     * @return array<string,array<string,string>>
     */
    public function getArchitecture(): array
    {
        return [
            'SI.NO_INDISP' => ['nomChamp' => $this->trad->t('N° Indispo'), 'type' => 'TEXT'],
            'SI.SITE' => ['nomChamp' => $this->trad->t('Code site'), 'type' => 'TEXT'],
            'SI.ART' => ['nomChamp' => $this->trad->t('Code article'), 'type' => 'TEXT'],
            'SI.DTE_MISE' => ['nomChamp' => $this->trad->t('Date mise en indispo'), 'type' => 'DATE'],
            'SI.MOTIF' => ['nomChamp' => $this->trad->t('Motif'), 'type' => 'TEXT'],
            'SI.LIEU' => ['nomChamp' => $this->trad->t('Lieu'), 'type' => 'TEXT'],
            'SI.QTE' => ['nomChamp' => $this->trad->t('Quantité'), 'type' => 'NUMBER'],
            'SI.QTE_REST' => ['nomChamp' => $this->trad->t('Quantité restante'), 'type' => 'NUMBER'],
            'SI.COD_TIERS' => ['nomChamp' => $this->trad->t('Code tiers'), 'type' => 'TEXT'],
        ];
    }
}
