<?php

namespace Entity\Model;

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

class TVA extends QueryBuilder
{
    protected string $table = 'TVA with (nolock)';
    protected string $primaryKey = 'CODE_TVA';
    protected string $libelle = 'LIBELLE';
    public string $titre;

    public function getArchitecture(\Helpers\Trad\ITrad $trad)
    {
        return
        [
            'CODE_TVA' => [
                'nomChamp' => $trad->t('Code Tva'),
                'type' => 'TEXTE',
                'taille' => 13,
                'obligatoire' => true
            ],
            'LIBELLE' => [
                'nomChamp' =>$trad->t("Libellé"),
                'type' => 'TEXTE',
                'taille' => 20,
                'obligatoire' => true

        
            ]
        ];
    }
}
