PenParametroDTO.php 687 Bytes
<?php

require_once dirname(__FILE__).'/../../../SEI.php';

/**
 * Data Transfer Object de parmtros do mdulo PEN
 *
 * @author Join Tecnologia
 */
class PenParametroDTO extends InfraDTO {

    public function getStrNomeTabela() {
        
        return 'md_pen_parametro';
    }
    
    public function montar() {
        
        $this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR, 'Nome', 'nome');
        $this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR, 'Valor', 'valor'); 
        $this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR, 'Descricao', 'descricao'); 
        
        $this->configurarPK('Nome',InfraDTO::$TIPO_PK_INFORMADO);
    }
}