<?php

namespace Entity\Model;

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

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

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


        ];
    }
}
