<?php

namespace Entity\Model;

use Helpers\QueryBuilder\QueryBuilder;

class MotClef extends QueryBuilder
{
    protected string $table = 'MOTCLEF with (nolock)';
    protected string $primaryKey = 'MOTCLEF';
    public string $titre = 'Mots Clefs';

    public function getArchitecture(\Helpers\Trad\ITrad $trad)
    {
        return  [
            'MOTCLEF' =>
            [
                'nomChamp' => $trad->t('Code Mot Clefs'),
                'type' => 'TEXTE',
                'taille' => 20,
                'obligatoire' => true
            ],


        ];
    }
}
