|  |  |  | @ -484,7 +484,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 			<db-key-cache-size>1</db-key-cache-size> | 
			
		
	
		
			
				
					|  |  |  |  | 		</db-key-generator> | 
			
		
	
		
			
				
					|  |  |  |  | 	</db-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Avisos" className="siprp.database.cayenne.objects.Avisos" dbEntityName="avisos" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Avisos" className="siprp.database.cayenne.objects.Avisos" lock-type="optimistic" dbEntityName="avisos" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="dataAviso" type="java.util.Date" db-attribute-path="data_aviso"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="dataEvento" type="java.util.Date" db-attribute-path="data_evento"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="descricao" type="java.lang.String" db-attribute-path="descricao"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -493,7 +493,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="tipo" type="java.lang.Integer" db-attribute-path="tipo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="trabalhadorId" type="java.lang.Integer" db-attribute-path="trabalhador_id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Contactos" className="siprp.database.cayenne.objects.Contactos" dbEntityName="contactos" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Contactos" className="siprp.database.cayenne.objects.Contactos" lock-type="optimistic" dbEntityName="contactos" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="cargo" type="java.lang.String" db-attribute-path="cargo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="email" type="java.lang.String" db-attribute-path="email"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="fax" type="java.lang.String" db-attribute-path="fax"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -502,14 +502,14 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="telefone" type="java.lang.String" db-attribute-path="telefone"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="telemovel" type="java.lang.String" db-attribute-path="telemovel"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="EcdOficial" className="siprp.database.cayenne.objects.EcdOficial" dbEntityName="ecd_oficial" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="EcdOficial" className="siprp.database.cayenne.objects.EcdOficial" lock-type="optimistic" dbEntityName="ecd_oficial" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="activo" type="java.lang.String" db-attribute-path="activo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="descricao" type="java.lang.String" db-attribute-path="descricao"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="descricaoPlain" type="java.lang.String" db-attribute-path="descricao_plain"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="ordem" type="java.lang.Integer" db-attribute-path="ordem"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Empresas" className="siprp.database.cayenne.objects.Empresas" dbEntityName="empresas" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Empresas" className="siprp.database.cayenne.objects.Empresas" lock-type="optimistic" dbEntityName="empresas" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="aConsultas" type="java.lang.String" db-attribute-path="a_consultas"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="aExames" type="java.lang.String" db-attribute-path="a_exames"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="actividade" type="java.lang.String" db-attribute-path="actividade"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -552,14 +552,14 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="servicoSaudeTipo" type="java.lang.Integer" db-attribute-path="servico_saude_tipo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="servicos" type="java.lang.Integer" db-attribute-path="servicos"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Errors" className="siprp.database.cayenne.objects.Errors" dbEntityName="errors" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Errors" className="siprp.database.cayenne.objects.Errors" lock-type="optimistic" dbEntityName="errors" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="date" type="java.util.Date" db-attribute-path="date"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="description" type="java.lang.String" db-attribute-path="description"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="environment" type="java.lang.String" db-attribute-path="environment"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="type" type="java.lang.String" db-attribute-path="type"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Estabelecimentos" className="siprp.database.cayenne.objects.Estabelecimentos" dbEntityName="estabelecimentos" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Estabelecimentos" className="siprp.database.cayenne.objects.Estabelecimentos" lock-type="optimistic" dbEntityName="estabelecimentos" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="actualizacao" type="java.util.Date" db-attribute-path="actualizacao"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="codigoPostal" type="java.lang.String" db-attribute-path="codigo_postal"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="contactoBackup" type="java.lang.String" db-attribute-path="contacto_backup"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -571,7 +571,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="nome" type="java.lang.String" db-attribute-path="nome"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="nomePlain" type="java.lang.String" db-attribute-path="nome_plain"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Etiquetas" className="siprp.database.cayenne.objects.Etiquetas" dbEntityName="etiquetas" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Etiquetas" className="siprp.database.cayenne.objects.Etiquetas" lock-type="optimistic" dbEntityName="etiquetas" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="altura" type="java.lang.Float" db-attribute-path="altura"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="alturaFolha" type="java.lang.Float" db-attribute-path="altura_folha"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="colunas" type="java.lang.Integer" db-attribute-path="colunas"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -587,7 +587,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="margemHorizontalFolha" type="java.lang.Float" db-attribute-path="margem_horizontal_folha"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="margemVerticalFolha" type="java.lang.Float" db-attribute-path="margem_vertical_folha"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Exames" className="siprp.database.cayenne.objects.Exames" dbEntityName="exames" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Exames" className="siprp.database.cayenne.objects.Exames" lock-type="optimistic" dbEntityName="exames" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="fo" type="byte[]" db-attribute-path="fo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -605,24 +605,24 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="tipo" type="java.lang.Integer" db-attribute-path="tipo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="trabalhadorId" type="java.lang.Integer" db-attribute-path="trabalhador_id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="ExamesPerfis" className="siprp.database.cayenne.objects.ExamesPerfis" dbEntityName="exames_perfis" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="ExamesPerfis" className="siprp.database.cayenne.objects.ExamesPerfis" lock-type="optimistic" dbEntityName="exames_perfis" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="multiplicador" type="java.lang.Integer" db-attribute-path="multiplicador"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="perfil" type="java.lang.Integer" db-attribute-path="perfil"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="ExamesPortaria" className="siprp.database.cayenne.objects.ExamesPortaria" dbEntityName="exames_portaria" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="ExamesPortaria" className="siprp.database.cayenne.objects.ExamesPortaria" lock-type="optimistic" dbEntityName="exames_portaria" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="dataEntrada" type="java.util.Date" db-attribute-path="data_entrada"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="portaria" type="java.lang.String" db-attribute-path="portaria"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="HistoricoEstabelecimento" className="siprp.database.cayenne.objects.HistoricoEstabelecimento" dbEntityName="historico_estabelecimento" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="HistoricoEstabelecimento" className="siprp.database.cayenne.objects.HistoricoEstabelecimento" lock-type="optimistic" dbEntityName="historico_estabelecimento" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="texto" type="java.lang.String" db-attribute-path="texto"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Ids" className="siprp.database.cayenne.objects.Ids" dbEntityName="ids" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Ids" className="siprp.database.cayenne.objects.Ids" lock-type="optimistic" dbEntityName="ids" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Lembretes" className="siprp.database.cayenne.objects.Lembretes" dbEntityName="lembretes" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Lembretes" className="siprp.database.cayenne.objects.Lembretes" lock-type="optimistic" dbEntityName="lembretes" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="descricao" type="java.lang.String" db-attribute-path="descricao"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="enviarEmail" type="java.lang.String" db-attribute-path="enviar_email"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -632,20 +632,20 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="texto" type="java.lang.String" db-attribute-path="texto"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="ultimoEnvio" type="java.util.Date" db-attribute-path="ultimo_envio"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="LembretesTipos" className="siprp.database.cayenne.objects.LembretesTipos" dbEntityName="lembretes_tipos" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="LembretesTipos" className="siprp.database.cayenne.objects.LembretesTipos" lock-type="optimistic" dbEntityName="lembretes_tipos" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="activo" type="java.lang.String" db-attribute-path="activo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="codigo" type="java.lang.String" db-attribute-path="codigo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="descricao" type="java.lang.String" db-attribute-path="descricao"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="ordem" type="java.lang.Integer" db-attribute-path="ordem"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesEmpresa" className="siprp.database.cayenne.objects.MarcacoesEmpresa" dbEntityName="marcacoes_empresa" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesEmpresa" className="siprp.database.cayenne.objects.MarcacoesEmpresa" lock-type="optimistic" dbEntityName="marcacoes_empresa" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="realizada" type="java.lang.String" db-attribute-path="realizada"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="texto" type="java.lang.String" db-attribute-path="texto"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesEstabelecimento" className="siprp.database.cayenne.objects.MarcacoesEstabelecimento" dbEntityName="marcacoes_estabelecimento" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesEstabelecimento" className="siprp.database.cayenne.objects.MarcacoesEstabelecimento" lock-type="optimistic" dbEntityName="marcacoes_estabelecimento" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="dataEmail" type="java.util.Date" db-attribute-path="data_email"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="dataRelatorio" type="java.util.Date" db-attribute-path="data_relatorio"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -654,9 +654,9 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="observacoes" type="java.lang.String" db-attribute-path="observacoes"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="realizada" type="java.lang.String" db-attribute-path="realizada"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesGruposRealizados" className="siprp.database.cayenne.objects.MarcacoesGruposRealizados" dbEntityName="marcacoes_grupos_realizados" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesGruposRealizados" className="siprp.database.cayenne.objects.MarcacoesGruposRealizados" lock-type="optimistic" dbEntityName="marcacoes_grupos_realizados" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesTecnicosHst" className="siprp.database.cayenne.objects.MarcacoesTecnicosHst" dbEntityName="marcacoes_tecnicos_hst" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesTecnicosHst" className="siprp.database.cayenne.objects.MarcacoesTecnicosHst" lock-type="optimistic" dbEntityName="marcacoes_tecnicos_hst" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="identificador" type="java.lang.Integer" db-attribute-path="identificador"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="inactivo" type="java.lang.String" db-attribute-path="inactivo"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -664,7 +664,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="nome" type="java.lang.String" db-attribute-path="nome"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="nomePlain" type="java.lang.String" db-attribute-path="nome_plain"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesTrabalhador" className="siprp.database.cayenne.objects.MarcacoesTrabalhador" dbEntityName="marcacoes_trabalhador" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesTrabalhador" className="siprp.database.cayenne.objects.MarcacoesTrabalhador" lock-type="optimistic" dbEntityName="marcacoes_trabalhador" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="dataEmail" type="java.util.Date" db-attribute-path="data_email"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="dataRelatorio" type="java.util.Date" db-attribute-path="data_relatorio"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -676,18 +676,18 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="tipo" type="java.lang.Integer" db-attribute-path="tipo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="trabalhadorId" type="java.lang.Integer" db-attribute-path="trabalhador_id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesTrabalhadorEstados" className="siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados" dbEntityName="marcacoes_trabalhador_estados" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="MarcacoesTrabalhadorEstados" className="siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados" lock-type="optimistic" dbEntityName="marcacoes_trabalhador_estados" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="estado" type="java.lang.Integer" db-attribute-path="estado"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Medicos" className="siprp.database.cayenne.objects.Medicos" dbEntityName="medicos" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Medicos" className="siprp.database.cayenne.objects.Medicos" lock-type="optimistic" dbEntityName="medicos" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="inactivo" type="java.lang.String" db-attribute-path="inactivo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="nome" type="java.lang.String" db-attribute-path="nome"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="numeroCedula" type="java.lang.String" db-attribute-path="numero_cedula"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Prestadores" className="siprp.database.cayenne.objects.Prestadores" dbEntityName="prestadores" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Prestadores" className="siprp.database.cayenne.objects.Prestadores" lock-type="optimistic" dbEntityName="prestadores" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="activo" type="java.lang.String" db-attribute-path="activo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="codigoPostal" type="java.lang.String" db-attribute-path="codigo_postal"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="contribuinte" type="java.lang.String" db-attribute-path="contribuinte"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -700,31 +700,31 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="nome" type="java.lang.String" db-attribute-path="nome"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="nomePlain" type="java.lang.String" db-attribute-path="nome_plain"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="PrestadoresGruposProtocolo" className="siprp.database.cayenne.objects.PrestadoresGruposProtocolo" dbEntityName="prestadores_grupos_protocolo" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="PrestadoresGruposProtocolo" className="siprp.database.cayenne.objects.PrestadoresGruposProtocolo" lock-type="optimistic" dbEntityName="prestadores_grupos_protocolo" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="PrtElementosProtocolo" className="siprp.database.cayenne.objects.PrtElementosProtocolo" dbEntityName="prt_elementos_protocolo" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="PrtElementosProtocolo" className="siprp.database.cayenne.objects.PrtElementosProtocolo" lock-type="optimistic" dbEntityName="prt_elementos_protocolo" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="numeroPerfil" type="java.lang.Integer" db-attribute-path="numero_perfil"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="PrtGruposProtocolo" className="siprp.database.cayenne.objects.PrtGruposProtocolo" dbEntityName="prt_grupos_protocolo" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="PrtGruposProtocolo" className="siprp.database.cayenne.objects.PrtGruposProtocolo" lock-type="optimistic" dbEntityName="prt_grupos_protocolo" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="descricao" type="java.lang.String" db-attribute-path="descricao"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="descricaoPlain" type="java.lang.String" db-attribute-path="descricao_plain"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="grupoReal" type="java.lang.String" db-attribute-path="grupo_real"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="ordem" type="java.lang.Integer" db-attribute-path="ordem"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="PrtTiposElementosProtocolo" className="siprp.database.cayenne.objects.PrtTiposElementosProtocolo" dbEntityName="prt_tipos_elementos_protocolo" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="PrtTiposElementosProtocolo" className="siprp.database.cayenne.objects.PrtTiposElementosProtocolo" lock-type="optimistic" dbEntityName="prt_tipos_elementos_protocolo" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="descricao" type="java.lang.String" db-attribute-path="descricao"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="descricaoPlain" type="java.lang.String" db-attribute-path="descricao_plain"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="ordem" type="java.lang.Integer" db-attribute-path="ordem"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TiposExamesComp" className="siprp.database.cayenne.objects.TiposExamesComp" dbEntityName="tipos_exames_comp" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TiposExamesComp" className="siprp.database.cayenne.objects.TiposExamesComp" lock-type="optimistic" dbEntityName="tipos_exames_comp" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="descricao" type="java.lang.String" db-attribute-path="descricao"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="ordem" type="java.lang.Integer" db-attribute-path="ordem"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Trabalhadores" className="siprp.database.cayenne.objects.Trabalhadores" dbEntityName="trabalhadores" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="Trabalhadores" className="siprp.database.cayenne.objects.Trabalhadores" lock-type="optimistic" dbEntityName="trabalhadores" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="actualizacao" type="java.util.Date" db-attribute-path="actualizacao"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="categoria" type="java.lang.String" db-attribute-path="categoria"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="dataAdmissao" type="java.util.Date" db-attribute-path="data_admissao"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -744,55 +744,55 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="perfil" type="java.lang.Integer" db-attribute-path="perfil"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="sexo" type="java.lang.String" db-attribute-path="sexo"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresConsultas" className="siprp.database.cayenne.objects.TrabalhadoresConsultas" dbEntityName="trabalhadores_consultas" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresConsultas" className="siprp.database.cayenne.objects.TrabalhadoresConsultas" lock-type="optimistic" dbEntityName="trabalhadores_consultas" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="estado" type="java.lang.Integer" db-attribute-path="estado"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresConsultasDatas" className="siprp.database.cayenne.objects.TrabalhadoresConsultasDatas" dbEntityName="trabalhadores_consultas_datas" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresConsultasDatas" className="siprp.database.cayenne.objects.TrabalhadoresConsultasDatas" lock-type="optimistic" dbEntityName="trabalhadores_consultas_datas" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="estado" type="java.lang.Integer" db-attribute-path="estado"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresConsultasDatasEmails" className="siprp.database.cayenne.objects.TrabalhadoresConsultasDatasEmails" dbEntityName="trabalhadores_consultas_datas_emails" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresConsultasDatasEmails" className="siprp.database.cayenne.objects.TrabalhadoresConsultasDatasEmails" lock-type="optimistic" dbEntityName="trabalhadores_consultas_datas_emails" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="body" type="java.lang.String" db-attribute-path="body"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="destination" type="java.lang.String" db-attribute-path="destination"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="subject" type="java.lang.String" db-attribute-path="subject"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresConsultasDatasObservacoes" className="siprp.database.cayenne.objects.TrabalhadoresConsultasDatasObservacoes" dbEntityName="trabalhadores_consultas_datas_observacoes" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresConsultasDatasObservacoes" className="siprp.database.cayenne.objects.TrabalhadoresConsultasDatasObservacoes" lock-type="optimistic" dbEntityName="trabalhadores_consultas_datas_observacoes" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="observacao" type="java.lang.String" db-attribute-path="observacao"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresEcd" className="siprp.database.cayenne.objects.TrabalhadoresEcd" dbEntityName="trabalhadores_ecd" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresEcd" className="siprp.database.cayenne.objects.TrabalhadoresEcd" lock-type="optimistic" dbEntityName="trabalhadores_ecd" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="estado" type="java.lang.Integer" db-attribute-path="estado"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresEcds" className="siprp.database.cayenne.objects.TrabalhadoresEcds" dbEntityName="trabalhadores_ecds" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresEcds" className="siprp.database.cayenne.objects.TrabalhadoresEcds" lock-type="optimistic" dbEntityName="trabalhadores_ecds" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="estado" type="java.lang.Integer" db-attribute-path="estado"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresEcdsDatas" className="siprp.database.cayenne.objects.TrabalhadoresEcdsDatas" dbEntityName="trabalhadores_ecds_datas" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresEcdsDatas" className="siprp.database.cayenne.objects.TrabalhadoresEcdsDatas" lock-type="optimistic" dbEntityName="trabalhadores_ecds_datas" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="estado" type="java.lang.Integer" db-attribute-path="estado"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresEcdsDatasEmails" className="siprp.database.cayenne.objects.TrabalhadoresEcdsDatasEmails" dbEntityName="trabalhadores_ecds_datas_emails" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresEcdsDatasEmails" className="siprp.database.cayenne.objects.TrabalhadoresEcdsDatasEmails" lock-type="optimistic" dbEntityName="trabalhadores_ecds_datas_emails" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="body" type="java.lang.String" db-attribute-path="body"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="data" type="java.util.Date" db-attribute-path="data"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="destination" type="java.lang.String" db-attribute-path="destination"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="subject" type="java.lang.String" db-attribute-path="subject"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresEcdsDatasObservacoes" className="siprp.database.cayenne.objects.TrabalhadoresEcdsDatasObservacoes" dbEntityName="trabalhadores_ecds_datas_observacoes" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresEcdsDatasObservacoes" className="siprp.database.cayenne.objects.TrabalhadoresEcdsDatasObservacoes" lock-type="optimistic" dbEntityName="trabalhadores_ecds_datas_observacoes" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="observacao" type="java.lang.String" db-attribute-path="observacao"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresFichasAptidao" className="siprp.database.cayenne.objects.TrabalhadoresFichasAptidao" dbEntityName="trabalhadores_fichas_aptidao" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresFichasAptidao" className="siprp.database.cayenne.objects.TrabalhadoresFichasAptidao" lock-type="optimistic" dbEntityName="trabalhadores_fichas_aptidao" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="id"/> | 
			
		
	
		
			
				
					|  |  |  |  | 	</obj-entity> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresProcesso" className="siprp.database.cayenne.objects.TrabalhadoresProcesso" dbEntityName="trabalhadores_processo" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<obj-entity name="TrabalhadoresProcesso" className="siprp.database.cayenne.objects.TrabalhadoresProcesso" lock-type="optimistic" dbEntityName="trabalhadores_processo" superClassName="siprp.database.cayenne.objects.BaseObject"> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="dataFim" type="java.util.Date" db-attribute-path="data_fim"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="dataInicio" type="java.util.Date" db-attribute-path="data_inicio"/> | 
			
		
	
		
			
				
					|  |  |  |  | 		<obj-attribute name="estado" type="java.lang.String" db-attribute-path="estado"/> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |