@ -338,12 +338,29 @@
</db-key-generator>
</db-key-generator>
</db-entity>
</db-entity>
<db-entity name= "hs_relatorio_equipamento" schema= "public" >
<db-entity name= "hs_relatorio_equipamento" schema= "public" >
<db-attribute name= "hs_equipamento" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "hs_equipamento" type= "INTEGER" isMandatory= "true" length= "10" />
<db-attribute name= "hs_relatorio_id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "hs_relatorio_id" type= "INTEGER" isMandatory= "true" length= "10" />
<db-attribute name= "id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "marca" type= "VARCHAR" length= "256" />
<db-attribute name= "modelo" type= "VARCHAR" length= "256" />
<db-attribute name= "tipo" type= "VARCHAR" length= "512" />
<db-key-generator >
<db-generator-type > ORACLE</db-generator-type>
<db-generator-name > hs_relatorio_equipamento_id_seq</db-generator-name>
<db-key-cache-size > 1</db-key-cache-size>
</db-key-generator>
</db-entity>
</db-entity>
<db-entity name= "hs_relatorio_legislacao" schema= "public" >
<db-entity name= "hs_relatorio_legislacao" schema= "public" >
<db-attribute name= "hs_legislacao_id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "categoria" type= "VARCHAR" length= "255" />
<db-attribute name= "hs_relatorio_id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "descricao" type= "VARCHAR" length= "1024" />
<db-attribute name= "hs_legislacao_id" type= "INTEGER" isMandatory= "true" length= "10" />
<db-attribute name= "hs_relatorio_id" type= "INTEGER" isMandatory= "true" length= "10" />
<db-attribute name= "id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-key-generator >
<db-generator-type > ORACLE</db-generator-type>
<db-generator-name > hs_relatorio_legislacao_id_seq</db-generator-name>
<db-key-cache-size > 1</db-key-cache-size>
</db-key-generator>
</db-entity>
</db-entity>
<db-entity name= "hs_relatorio_medida" schema= "public" >
<db-entity name= "hs_relatorio_medida" schema= "public" >
<db-attribute name= "deleted_date" type= "TIMESTAMP" />
<db-attribute name= "deleted_date" type= "TIMESTAMP" />
@ -358,8 +375,17 @@
</db-key-generator>
</db-key-generator>
</db-entity>
</db-entity>
<db-entity name= "hs_relatorio_normalizacao" schema= "public" >
<db-entity name= "hs_relatorio_normalizacao" schema= "public" >
<db-attribute name= "hs_normalizacao_id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "codigo" type= "VARCHAR" isMandatory= "true" length= "128" />
<db-attribute name= "hs_relatorio_id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "descricao" type= "VARCHAR" isMandatory= "true" length= "1024" />
<db-attribute name= "hs_normalizacao_id" type= "INTEGER" isMandatory= "true" length= "10" />
<db-attribute name= "hs_relatorio_id" type= "INTEGER" isMandatory= "true" length= "10" />
<db-attribute name= "id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "portuguesa" type= "BOOLEAN" isMandatory= "true" />
<db-key-generator >
<db-generator-type > ORACLE</db-generator-type>
<db-generator-name > hs_relatorio_legislacao_id_seq</db-generator-name>
<db-key-cache-size > 1</db-key-cache-size>
</db-key-generator>
</db-entity>
</db-entity>
<db-entity name= "hs_relatorio_posto" schema= "public" >
<db-entity name= "hs_relatorio_posto" schema= "public" >
<db-attribute name= "area_id" type= "INTEGER" length= "10" />
<db-attribute name= "area_id" type= "INTEGER" length= "10" />
@ -501,6 +527,9 @@
</db-key-generator>
</db-key-generator>
</db-entity>
</db-entity>
<db-entity name= "marcacoes_tecnicos_hst" schema= "public" >
<db-entity name= "marcacoes_tecnicos_hst" schema= "public" >
<db-attribute name= "assinatura" type= "INTEGER" length= "10" />
<db-attribute name= "cap" type= "VARCHAR" length= "128" />
<db-attribute name= "formacao" type= "VARCHAR" length= "128" />
<db-attribute name= "id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "identificador" type= "INTEGER" length= "10" />
<db-attribute name= "identificador" type= "INTEGER" length= "10" />
<db-attribute name= "inactivo" type= "CHAR" isMandatory= "true" length= "1" />
<db-attribute name= "inactivo" type= "CHAR" isMandatory= "true" length= "1" />
@ -920,6 +949,7 @@
</obj-entity>
</obj-entity>
<obj-entity name= "HsEquipamento" className= "siprp.database.cayenne.objects.HsEquipamento" dbEntityName= "hs_equipamento" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-entity name= "HsEquipamento" className= "siprp.database.cayenne.objects.HsEquipamento" dbEntityName= "hs_equipamento" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
<obj-attribute name= "id" type= "java.lang.Integer" db-attribute-path= "id" />
<obj-attribute name= "marca" type= "java.lang.String" db-attribute-path= "marca" />
<obj-attribute name= "marca" type= "java.lang.String" db-attribute-path= "marca" />
<obj-attribute name= "modelo" type= "java.lang.String" db-attribute-path= "modelo" />
<obj-attribute name= "modelo" type= "java.lang.String" db-attribute-path= "modelo" />
<obj-attribute name= "tipo" type= "java.lang.String" db-attribute-path= "tipo" />
<obj-attribute name= "tipo" type= "java.lang.String" db-attribute-path= "tipo" />
@ -927,6 +957,7 @@
<obj-entity name= "HsLegislacao" className= "siprp.database.cayenne.objects.HsLegislacao" dbEntityName= "hs_legislacao" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-entity name= "HsLegislacao" className= "siprp.database.cayenne.objects.HsLegislacao" dbEntityName= "hs_legislacao" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
<obj-attribute name= "description" type= "java.lang.String" db-attribute-path= "description" />
<obj-attribute name= "description" type= "java.lang.String" db-attribute-path= "description" />
<obj-attribute name= "id" type= "java.lang.Integer" db-attribute-path= "id" />
</obj-entity>
</obj-entity>
<obj-entity name= "HsLegislacaoCategoria" className= "siprp.database.cayenne.objects.HsLegislacaoCategoria" dbEntityName= "hs_legislacao_categoria" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-entity name= "HsLegislacaoCategoria" className= "siprp.database.cayenne.objects.HsLegislacaoCategoria" dbEntityName= "hs_legislacao_categoria" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
@ -945,6 +976,7 @@
<obj-attribute name= "codigo" type= "java.lang.String" db-attribute-path= "codigo" />
<obj-attribute name= "codigo" type= "java.lang.String" db-attribute-path= "codigo" />
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
<obj-attribute name= "descricao" type= "java.lang.String" db-attribute-path= "descricao" />
<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= "portuguesa" type= "java.lang.Boolean" db-attribute-path= "portuguesa" />
<obj-attribute name= "portuguesa" type= "java.lang.Boolean" db-attribute-path= "portuguesa" />
</obj-entity>
</obj-entity>
<obj-entity name= "HsNormalizacaoEmpresa" className= "siprp.database.cayenne.objects.HsNormalizacaoEmpresa" dbEntityName= "hs_normalizacao_empresa" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-entity name= "HsNormalizacaoEmpresa" className= "siprp.database.cayenne.objects.HsNormalizacaoEmpresa" dbEntityName= "hs_normalizacao_empresa" superClassName= "siprp.database.cayenne.objects.BaseObject" >
@ -983,8 +1015,16 @@
<obj-attribute name= "description" type= "java.lang.String" db-attribute-path= "description" />
<obj-attribute name= "description" type= "java.lang.String" db-attribute-path= "description" />
</obj-entity>
</obj-entity>
<obj-entity name= "HsRelatorioEquipamento" className= "siprp.database.cayenne.objects.HsRelatorioEquipamento" dbEntityName= "hs_relatorio_equipamento" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-entity name= "HsRelatorioEquipamento" className= "siprp.database.cayenne.objects.HsRelatorioEquipamento" dbEntityName= "hs_relatorio_equipamento" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-attribute name= "hsEquipamento" type= "java.lang.Integer" db-attribute-path= "hs_equipamento" />
<obj-attribute name= "hsRelatorioId" type= "java.lang.Integer" db-attribute-path= "hs_relatorio_id" />
<obj-attribute name= "marca" type= "java.lang.String" db-attribute-path= "marca" />
<obj-attribute name= "modelo" type= "java.lang.String" db-attribute-path= "modelo" />
<obj-attribute name= "tipo" type= "java.lang.String" db-attribute-path= "tipo" />
</obj-entity>
</obj-entity>
<obj-entity name= "HsRelatorioLegislacao" className= "siprp.database.cayenne.objects.HsRelatorioLegislacao" dbEntityName= "hs_relatorio_legislacao" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-entity name= "HsRelatorioLegislacao" className= "siprp.database.cayenne.objects.HsRelatorioLegislacao" dbEntityName= "hs_relatorio_legislacao" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-attribute name= "categoria" type= "java.lang.String" db-attribute-path= "categoria" />
<obj-attribute name= "descricao" type= "java.lang.String" db-attribute-path= "descricao" />
<obj-attribute name= "hsLegislacaoId" type= "java.lang.Integer" db-attribute-path= "hs_legislacao_id" />
</obj-entity>
</obj-entity>
<obj-entity name= "HsRelatorioMedida" className= "siprp.database.cayenne.objects.HsRelatorioMedida" dbEntityName= "hs_relatorio_medida" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-entity name= "HsRelatorioMedida" className= "siprp.database.cayenne.objects.HsRelatorioMedida" dbEntityName= "hs_relatorio_medida" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
@ -992,6 +1032,10 @@
<obj-attribute name= "requesitosLegais" type= "java.lang.String" db-attribute-path= "requesitos_legais" />
<obj-attribute name= "requesitosLegais" type= "java.lang.String" db-attribute-path= "requesitos_legais" />
</obj-entity>
</obj-entity>
<obj-entity name= "HsRelatorioNormalizacao" className= "siprp.database.cayenne.objects.HsRelatorioNormalizacao" dbEntityName= "hs_relatorio_normalizacao" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-entity name= "HsRelatorioNormalizacao" className= "siprp.database.cayenne.objects.HsRelatorioNormalizacao" dbEntityName= "hs_relatorio_normalizacao" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<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= "hsNormalizacaoId" type= "java.lang.Integer" db-attribute-path= "hs_normalizacao_id" />
<obj-attribute name= "portuguesa" type= "java.lang.Boolean" db-attribute-path= "portuguesa" />
</obj-entity>
</obj-entity>
<obj-entity name= "HsRelatorioPosto" className= "siprp.database.cayenne.objects.HsRelatorioPosto" dbEntityName= "hs_relatorio_posto" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-entity name= "HsRelatorioPosto" className= "siprp.database.cayenne.objects.HsRelatorioPosto" dbEntityName= "hs_relatorio_posto" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
<obj-attribute name= "deletedDate" type= "java.util.Date" db-attribute-path= "deleted_date" />
@ -1063,6 +1107,9 @@
<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 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>
<obj-entity name= "MarcacoesTecnicosHst" className= "siprp.database.cayenne.objects.MarcacoesTecnicosHst" lock-type= "optimistic" 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= "assinatura" type= "java.lang.Integer" db-attribute-path= "assinatura" />
<obj-attribute name= "cap" type= "java.lang.String" db-attribute-path= "cap" />
<obj-attribute name= "formacao" type= "java.lang.String" db-attribute-path= "formacao" />
<obj-attribute name= "id" type= "java.lang.Integer" db-attribute-path= "id" />
<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= "identificador" type= "java.lang.Integer" db-attribute-path= "identificador" />
<obj-attribute name= "inactivo" type= "java.lang.String" db-attribute-path= "inactivo" />
<obj-attribute name= "inactivo" type= "java.lang.String" db-attribute-path= "inactivo" />
@ -1361,9 +1408,6 @@
<db-relationship name= "toHsEmail" source= "hs_email_estabelecimento" target= "hs_email" toMany= "false" >
<db-relationship name= "toHsEmail" source= "hs_email_estabelecimento" target= "hs_email" toMany= "false" >
<db-attribute-pair source= "email_id" target= "id" />
<db-attribute-pair source= "email_id" target= "id" />
</db-relationship>
</db-relationship>
<db-relationship name= "hsRelatorioEquipamentoArray" source= "hs_equipamento" target= "hs_relatorio_equipamento" toDependentPK= "true" toMany= "true" >
<db-attribute-pair source= "id" target= "hs_equipamento" />
</db-relationship>
<db-relationship name= "hsLegislacaoEmpresaArray" source= "hs_legislacao" target= "hs_legislacao_empresa" toDependentPK= "true" toMany= "true" >
<db-relationship name= "hsLegislacaoEmpresaArray" source= "hs_legislacao" target= "hs_legislacao_empresa" toDependentPK= "true" toMany= "true" >
<db-attribute-pair source= "id" target= "legislacao_id" />
<db-attribute-pair source= "id" target= "legislacao_id" />
</db-relationship>
</db-relationship>
@ -1451,13 +1495,13 @@
<db-relationship name= "hsRelatorioArea" source= "hs_relatorio" target= "hs_relatorio_area" toMany= "true" >
<db-relationship name= "hsRelatorioArea" source= "hs_relatorio" target= "hs_relatorio_area" toMany= "true" >
<db-attribute-pair source= "id" target= "relatorio_id" />
<db-attribute-pair source= "id" target= "relatorio_id" />
</db-relationship>
</db-relationship>
<db-relationship name= "hsRelatorioEquipamentoArray" source= "hs_relatorio" target= "hs_relatorio_equipamento" to DependentPK="true" to Many="true" >
<db-relationship name= "hsRelatorioEquipamentoArray" source= "hs_relatorio" target= "hs_relatorio_equipamento" to Many="true" >
<db-attribute-pair source= "id" target= "hs_relatorio_id" />
<db-attribute-pair source= "id" target= "hs_relatorio_id" />
</db-relationship>
</db-relationship>
<db-relationship name= "hsRelatorioLegislacaoArray" source= "hs_relatorio" target= "hs_relatorio_legislacao" to DependentPK="true" to Many="true" >
<db-relationship name= "hsRelatorioLegislacaoArray" source= "hs_relatorio" target= "hs_relatorio_legislacao" to Many="true" >
<db-attribute-pair source= "id" target= "hs_relatorio_id" />
<db-attribute-pair source= "id" target= "hs_relatorio_id" />
</db-relationship>
</db-relationship>
<db-relationship name= "hsRelatorioNormalizacaoArray" source= "hs_relatorio" target= "hs_relatorio_normalizacao" to DependentPK="true" to Many="true" >
<db-relationship name= "hsRelatorioNormalizacaoArray" source= "hs_relatorio" target= "hs_relatorio_normalizacao" to Many="true" >
<db-attribute-pair source= "id" target= "hs_relatorio_id" />
<db-attribute-pair source= "id" target= "hs_relatorio_id" />
</db-relationship>
</db-relationship>
<db-relationship name= "hsRelatorioRiscoArray" source= "hs_relatorio" target= "hs_relatorio_risco" toMany= "true" >
<db-relationship name= "hsRelatorioRiscoArray" source= "hs_relatorio" target= "hs_relatorio_risco" toMany= "true" >
@ -1472,9 +1516,6 @@
<db-relationship name= "toHsRelatorio" source= "hs_relatorio_area" target= "hs_relatorio" toMany= "false" >
<db-relationship name= "toHsRelatorio" source= "hs_relatorio_area" target= "hs_relatorio" toMany= "false" >
<db-attribute-pair source= "relatorio_id" target= "id" />
<db-attribute-pair source= "relatorio_id" target= "id" />
</db-relationship>
</db-relationship>
<db-relationship name= "toHsEquipamento" source= "hs_relatorio_equipamento" target= "hs_equipamento" toMany= "false" >
<db-attribute-pair source= "hs_equipamento" target= "id" />
</db-relationship>
<db-relationship name= "toHsRelatorio" source= "hs_relatorio_equipamento" target= "hs_relatorio" toMany= "false" >
<db-relationship name= "toHsRelatorio" source= "hs_relatorio_equipamento" target= "hs_relatorio" toMany= "false" >
<db-attribute-pair source= "hs_relatorio_id" target= "id" />
<db-attribute-pair source= "hs_relatorio_id" target= "id" />
</db-relationship>
</db-relationship>
@ -1874,7 +1915,6 @@
<obj-relationship name= "toHsEmail" source= "HsEmailEmpresa" target= "HsEmail" deleteRule= "Nullify" db-relationship-path= "toHsEmail" />
<obj-relationship name= "toHsEmail" source= "HsEmailEmpresa" target= "HsEmail" deleteRule= "Nullify" db-relationship-path= "toHsEmail" />
<obj-relationship name= "toEstabelecimento" source= "HsEmailEstabelecimento" target= "Estabelecimentos" deleteRule= "Nullify" db-relationship-path= "toEstabelecimento" />
<obj-relationship name= "toEstabelecimento" source= "HsEmailEstabelecimento" target= "Estabelecimentos" deleteRule= "Nullify" db-relationship-path= "toEstabelecimento" />
<obj-relationship name= "toHsEmail" source= "HsEmailEstabelecimento" target= "HsEmail" deleteRule= "Nullify" db-relationship-path= "toHsEmail" />
<obj-relationship name= "toHsEmail" source= "HsEmailEstabelecimento" target= "HsEmail" deleteRule= "Nullify" db-relationship-path= "toHsEmail" />
<obj-relationship name= "hsRelatorioEquipamentoArray" source= "HsEquipamento" target= "HsRelatorioEquipamento" db-relationship-path= "hsRelatorioEquipamentoArray" />
<obj-relationship name= "hsLegislacaoEmpresaArray" source= "HsLegislacao" target= "HsLegislacaoEmpresa" deleteRule= "Cascade" db-relationship-path= "hsLegislacaoEmpresaArray" />
<obj-relationship name= "hsLegislacaoEmpresaArray" source= "HsLegislacao" target= "HsLegislacaoEmpresa" deleteRule= "Cascade" db-relationship-path= "hsLegislacaoEmpresaArray" />
<obj-relationship name= "hsLegislacaoEstabelecimentoArray" source= "HsLegislacao" target= "HsLegislacaoEstabelecimento" deleteRule= "Cascade" db-relationship-path= "hsLegislacaoEstabelecimentoArray" />
<obj-relationship name= "hsLegislacaoEstabelecimentoArray" source= "HsLegislacao" target= "HsLegislacaoEstabelecimento" deleteRule= "Cascade" db-relationship-path= "hsLegislacaoEstabelecimentoArray" />
<obj-relationship name= "toHsLegislacaoCategoria" source= "HsLegislacao" target= "HsLegislacaoCategoria" deleteRule= "Nullify" db-relationship-path= "toHsLegislacaoCategoria" />
<obj-relationship name= "toHsLegislacaoCategoria" source= "HsLegislacao" target= "HsLegislacaoCategoria" deleteRule= "Nullify" db-relationship-path= "toHsLegislacaoCategoria" />
@ -1910,8 +1950,7 @@
<obj-relationship name= "toHsMarcacoesEstabelecimento" source= "HsRelatorio" target= "MarcacoesEstabelecimento" db-relationship-path= "toHsMarcacoesEstabelecimento" />
<obj-relationship name= "toHsMarcacoesEstabelecimento" source= "HsRelatorio" target= "MarcacoesEstabelecimento" db-relationship-path= "toHsMarcacoesEstabelecimento" />
<obj-relationship name= "hsRelatorioPostoArray" source= "HsRelatorioArea" target= "HsRelatorioPosto" deleteRule= "Cascade" db-relationship-path= "hsRelatorioPostoArray" />
<obj-relationship name= "hsRelatorioPostoArray" source= "HsRelatorioArea" target= "HsRelatorioPosto" deleteRule= "Cascade" db-relationship-path= "hsRelatorioPostoArray" />
<obj-relationship name= "toHsRelatorio" source= "HsRelatorioArea" target= "HsRelatorio" deleteRule= "Nullify" db-relationship-path= "toHsRelatorio" />
<obj-relationship name= "toHsRelatorio" source= "HsRelatorioArea" target= "HsRelatorio" deleteRule= "Nullify" db-relationship-path= "toHsRelatorio" />
<obj-relationship name= "toHsEquipamento" source= "HsRelatorioEquipamento" target= "HsEquipamento" db-relationship-path= "toHsEquipamento" />
<obj-relationship name= "toHsRelatorio" source= "HsRelatorioEquipamento" target= "HsRelatorio" deleteRule= "Nullify" db-relationship-path= "toHsRelatorio" />
<obj-relationship name= "toHsRelatorio" source= "HsRelatorioEquipamento" target= "HsRelatorio" db-relationship-path= "toHsRelatorio" />
<obj-relationship name= "toHsRelatorio" source= "HsRelatorioLegislacao" target= "HsRelatorio" db-relationship-path= "toHsRelatorio" />
<obj-relationship name= "toHsRelatorio" source= "HsRelatorioLegislacao" target= "HsRelatorio" db-relationship-path= "toHsRelatorio" />
<obj-relationship name= "hsRelatorioPostoMedidaArray" source= "HsRelatorioMedida" target= "HsRelatorioPostoMedida" deleteRule= "Cascade" db-relationship-path= "hsRelatorioPostoMedidaArray" />
<obj-relationship name= "hsRelatorioPostoMedidaArray" source= "HsRelatorioMedida" target= "HsRelatorioPostoMedida" deleteRule= "Cascade" db-relationship-path= "hsRelatorioPostoMedidaArray" />
<obj-relationship name= "toHsRelatorioRisco" source= "HsRelatorioMedida" target= "HsRelatorioRisco" deleteRule= "Nullify" db-relationship-path= "toHsRelatorioRisco" />
<obj-relationship name= "toHsRelatorioRisco" source= "HsRelatorioMedida" target= "HsRelatorioRisco" deleteRule= "Nullify" db-relationship-path= "toHsRelatorioRisco" />