@ -339,6 +339,7 @@
<db-entity name= "hs_relatorio_area" schema= "public" >
<db-attribute name= "deleted_date" type= "TIMESTAMP" length= "29" />
<db-attribute name= "description" type= "VARCHAR" isMandatory= "true" length= "1024" />
<db-attribute name= "hs_area_id" type= "INTEGER" length= "10" />
<db-attribute name= "id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "ordem" type= "INTEGER" />
<db-attribute name= "relatorio_id" type= "INTEGER" length= "10" />
@ -350,6 +351,7 @@
</db-entity>
<db-entity name= "hs_relatorio_equipamento" schema= "public" >
<db-attribute name= "hs_equipamento" type= "INTEGER" isMandatory= "true" length= "10" />
<db-attribute name= "hs_equipamento_id" type= "INTEGER" 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" />
@ -377,6 +379,7 @@
<db-entity name= "hs_relatorio_medida" schema= "public" >
<db-attribute name= "deleted_date" type= "TIMESTAMP" />
<db-attribute name= "description" type= "VARCHAR" isMandatory= "true" length= "8192" />
<db-attribute name= "hs_medida_id" type= "INTEGER" length= "10" />
<db-attribute name= "id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "requesitos_legais" type= "VARCHAR" isMandatory= "true" length= "8192" />
<db-attribute name= "risco_id" type= "INTEGER" isMandatory= "true" length= "10" />
@ -403,6 +406,7 @@
<db-attribute name= "area_id" type= "INTEGER" length= "10" />
<db-attribute name= "deleted_date" type= "TIMESTAMP" length= "29" />
<db-attribute name= "description" type= "VARCHAR" isMandatory= "true" length= "1024" />
<db-attribute name= "hs_posto_id" type= "INTEGER" length= "10" />
<db-attribute name= "id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "is_principal" type= "BOOLEAN" />
<db-key-generator >
@ -432,6 +436,7 @@
<db-entity name= "hs_relatorio_risco" schema= "public" >
<db-attribute name= "deleted_date" type= "TIMESTAMP" />
<db-attribute name= "description" type= "VARCHAR" isMandatory= "true" length= "8192" />
<db-attribute name= "hs_risco_id" type= "INTEGER" length= "10" />
<db-attribute name= "id" type= "INTEGER" isPrimaryKey= "true" isMandatory= "true" length= "10" />
<db-attribute name= "relatorio_id" type= "INTEGER" isMandatory= "true" length= "10" />
<db-key-generator >
@ -959,6 +964,7 @@
<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= "empresaId" type= "java.lang.Integer" db-attribute-path= "empresa_id" />
<obj-attribute name= "id" type= "java.lang.Integer" db-attribute-path= "id" />
<obj-attribute name= "order" type= "java.lang.Integer" db-attribute-path= "ordem" />
</obj-entity>
<obj-entity name= "HsEmail" className= "siprp.database.cayenne.objects.HsEmail" dbEntityName= "hs_email" superClassName= "siprp.database.cayenne.objects.BaseObject" >
@ -1008,6 +1014,7 @@
<obj-entity name= "HsPosto" className= "siprp.database.cayenne.objects.HsPosto" dbEntityName= "hs_posto" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<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= "id" type= "java.lang.Integer" db-attribute-path= "id" />
<obj-attribute name= "isPrincipal" type= "java.lang.Boolean" db-attribute-path= "is_principal" />
</obj-entity>
<obj-entity name= "HsPostoEstabelecimento" className= "siprp.database.cayenne.objects.HsPostoEstabelecimento" dbEntityName= "hs_posto_estabelecimento" superClassName= "siprp.database.cayenne.objects.BaseObject" >
@ -1038,10 +1045,12 @@
<obj-entity name= "HsRelatorioArea" className= "siprp.database.cayenne.objects.HsRelatorioArea" dbEntityName= "hs_relatorio_area" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<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= "hsAreaId" type= "java.lang.Integer" db-attribute-path= "hs_area_id" />
<obj-attribute name= "order" type= "java.lang.Integer" db-attribute-path= "ordem" />
</obj-entity>
<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= "hsEquipamentoId" type= "java.lang.Integer" db-attribute-path= "hs_equipamento_id" />
<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" />
@ -1056,6 +1065,7 @@
<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= "description" type= "java.lang.String" db-attribute-path= "description" />
<obj-attribute name= "hsMedidaId" type= "java.lang.Integer" db-attribute-path= "hs_medida_id" />
<obj-attribute name= "requesitosLegais" type= "java.lang.String" db-attribute-path= "requesitos_legais" />
</obj-entity>
<obj-entity name= "HsRelatorioNormalizacao" className= "siprp.database.cayenne.objects.HsRelatorioNormalizacao" dbEntityName= "hs_relatorio_normalizacao" superClassName= "siprp.database.cayenne.objects.BaseObject" >
@ -1067,6 +1077,7 @@
<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= "description" type= "java.lang.String" db-attribute-path= "description" />
<obj-attribute name= "hsPostoId" type= "java.lang.Integer" db-attribute-path= "hs_posto_id" />
<obj-attribute name= "isPrincipal" type= "java.lang.Boolean" db-attribute-path= "is_principal" />
</obj-entity>
<obj-entity name= "HsRelatorioPostoMedida" className= "siprp.database.cayenne.objects.HsRelatorioPostoMedida" dbEntityName= "hs_relatorio_posto_medida" superClassName= "siprp.database.cayenne.objects.BaseObject" >
@ -1080,6 +1091,7 @@
<obj-entity name= "HsRelatorioRisco" className= "siprp.database.cayenne.objects.HsRelatorioRisco" dbEntityName= "hs_relatorio_risco" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<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= "hsRiscoId" type= "java.lang.Integer" db-attribute-path= "hs_risco_id" />
</obj-entity>
<obj-entity name= "HsRelatorioRiscoValorQualitativo" className= "siprp.database.cayenne.objects.HsRelatorioRiscoValorQualitativo" dbEntityName= "hs_relatorio_risco_valor_qualitativo" superClassName= "siprp.database.cayenne.objects.BaseObject" >
<obj-attribute name= "description" type= "java.lang.String" db-attribute-path= "description" />