MdWsSeiHipoteseLegalDTO.php 841 Bytes
<?php

/**
 * Class MdWsSeiHipoteseLegalDTO
 * DTO somente para encapsulamento de dados.
 * OBS: Nao estou usando API pois em modulos do SEI o autoload nao carrega as API's.
 */
class MdWsSeiHipoteseLegalDTO extends InfraDTO{

    public function getStrNomeTabela()
    {
        throw new InfraException('DTO nao utilizavel para consulta!');
    }

    public function montar(){
        $this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'IdHipoteseLegal');
        $this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'Nome');
        $this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'Filter');
        $this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'NivelAcesso');
        $this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'Start');
        $this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'Limit');
    }        

}