function EntPesquisa() {
	
	// METODO OBRIGATORIO PARA TODAS AS ENTIDADES
	this.setId("EntPesquisa");

	this.pesquisa; // String
	this.ativo; // boolean
	this.codigo; // int
	this.descricao; // String
	this.registroInicial; // int
	this.quantidadeRegistros; // int

	this.toString = function() {
		return "entPesquisa";
	}

	this.getPesquisa = function() {
		return this.pesquisa;
	}

	this.setPesquisa = function(sPesquisa) {
		this.pesquisa = sPesquisa;
	}

	this.getAtivo = function() {
		return this.ativo;
	}

	this.setAtivo = function(bAtivo) {
		this.ativo = bAtivo;
	}

	this.getCodigo = function() {
		return this.codigo;
	}

	this.setCodigo = function(iCodigo) {
		this.codigo = iCodigo;
	}

	this.getDescricao = function() {
		return this.descricao;
	}

	this.setDescricao = function(sDescricao) {
		this.descricao = sDescricao;
	}

	this.getRegistroInicial = function() {
		return this.registroInicial;
	}

	this.setRegistroInicial = function(iRegistroInicial) {
		this.registroInicial = iRegistroInicial;
	}

	this.getQuantidadeRegistros = function() {
		return this.quantidadeRegistros;
	}

	this.setQuantidadeRegistros = function(iQuantidadeRegistros) {
		this.quantidadeRegistros = iQuantidadeRegistros;
	}
}
EntPesquisa.prototype = new EntPrincipal;