<?php

namespace Entity\Model;

use Helpers\QueryBuilder\QueryBuilder;
use Helpers\Trad\Trad;

class GrilSte extends QueryBuilder
{
    protected string $table = 'GRIL_STE with (nolock)';
    protected string $primaryKey = '';
    
    /**
     * getArchitecture
     *
     * @return array<mixed>
     */
    public function getArchitecture(\Helpers\Trad\ITrad $trad) : array
    {

        return  [
            'ID_MODEL' =>
            [
                'nomChamp' => $trad->t('Identifiant Modèle'),
                'type' => 'TEXT',
                'taille' => 10,
                'obligatoire' => true
            ],
            'CODE_STE' =>
            [
                'nomChamp' => $trad->t('Code Société'),
                'type' => 'TEXT',
                'taille' => 7,
                'obligatoire' => true
            ],
        ];
    }
}
