<?php

namespace Entity\Model;

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

class ListeDocument extends QueryBuilder
{
    protected string $table = 'DOCUMENT with (nolock)';
    protected string $primaryKey = 'DOCUMENT';
    public string $titre;

    public function getArchitecture(\Helpers\Trad\ITrad $trad)
    {
        return  [
            'DOCUMENT' =>
            [
                'nomChamp' => $trad->t('Code Caracteristique'),
                'type' => 'TEXTAREA',
                'taille' => 60,
                'obligatoire' => true
            ],


        ];
    }
}
