|
|
|
|
@ -183,7 +183,7 @@
|
|
|
|
|
</db-entity>
|
|
|
|
|
<db-entity name="hs_area" schema="public">
|
|
|
|
|
<db-attribute name="deleted_date" type="TIMESTAMP"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="256"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="1024"/>
|
|
|
|
|
<db-attribute name="empresa_id" type="INTEGER" length="10"/>
|
|
|
|
|
<db-attribute name="id" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="10"/>
|
|
|
|
|
<db-key-generator>
|
|
|
|
|
@ -224,7 +224,7 @@
|
|
|
|
|
<db-entity name="hs_legislacao" schema="public">
|
|
|
|
|
<db-attribute name="categoria_id" type="INTEGER" length="10"/>
|
|
|
|
|
<db-attribute name="deleted_date" type="TIMESTAMP"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="1024"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="8192"/>
|
|
|
|
|
<db-attribute name="id" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="10"/>
|
|
|
|
|
<db-key-generator>
|
|
|
|
|
<db-generator-type>ORACLE</db-generator-type>
|
|
|
|
|
@ -252,9 +252,9 @@
|
|
|
|
|
</db-entity>
|
|
|
|
|
<db-entity name="hs_medida" schema="public">
|
|
|
|
|
<db-attribute name="deleted_date" type="TIMESTAMP"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="1024"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="8192"/>
|
|
|
|
|
<db-attribute name="id" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="10"/>
|
|
|
|
|
<db-attribute name="requesitos_legais" type="VARCHAR" length="1024"/>
|
|
|
|
|
<db-attribute name="requesitos_legais" type="VARCHAR" length="8192"/>
|
|
|
|
|
<db-key-generator>
|
|
|
|
|
<db-generator-type>ORACLE</db-generator-type>
|
|
|
|
|
<db-generator-name>hs_medida_id_seq</db-generator-name>
|
|
|
|
|
@ -264,7 +264,7 @@
|
|
|
|
|
<db-entity name="hs_normalizacao" schema="public">
|
|
|
|
|
<db-attribute name="codigo" type="VARCHAR" isMandatory="true" length="128"/>
|
|
|
|
|
<db-attribute name="deleted_date" type="TIMESTAMP"/>
|
|
|
|
|
<db-attribute name="descricao" type="VARCHAR" isMandatory="true" length="1024"/>
|
|
|
|
|
<db-attribute name="descricao" type="VARCHAR" isMandatory="true" length="8192"/>
|
|
|
|
|
<db-attribute name="id" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="10"/>
|
|
|
|
|
<db-attribute name="portuguesa" type="BIT" isMandatory="true" length="1"/>
|
|
|
|
|
<db-key-generator>
|
|
|
|
|
@ -284,7 +284,7 @@
|
|
|
|
|
<db-entity name="hs_posto" schema="public">
|
|
|
|
|
<db-attribute name="area_id" type="INTEGER" length="10"/>
|
|
|
|
|
<db-attribute name="deleted_date" type="TIMESTAMP"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="256"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="1024"/>
|
|
|
|
|
<db-attribute name="id" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="10"/>
|
|
|
|
|
<db-key-generator>
|
|
|
|
|
<db-generator-type>ORACLE</db-generator-type>
|
|
|
|
|
@ -329,7 +329,7 @@
|
|
|
|
|
</db-entity>
|
|
|
|
|
<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="256"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="1024"/>
|
|
|
|
|
<db-attribute name="id" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="10"/>
|
|
|
|
|
<db-attribute name="relatorio_id" type="INTEGER" length="10"/>
|
|
|
|
|
<db-key-generator>
|
|
|
|
|
@ -353,7 +353,7 @@
|
|
|
|
|
</db-entity>
|
|
|
|
|
<db-entity name="hs_relatorio_legislacao" schema="public">
|
|
|
|
|
<db-attribute name="categoria" type="VARCHAR" length="255"/>
|
|
|
|
|
<db-attribute name="descricao" type="VARCHAR" length="1024"/>
|
|
|
|
|
<db-attribute name="descricao" type="VARCHAR" length="8192"/>
|
|
|
|
|
<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"/>
|
|
|
|
|
@ -365,9 +365,9 @@
|
|
|
|
|
</db-entity>
|
|
|
|
|
<db-entity name="hs_relatorio_medida" schema="public">
|
|
|
|
|
<db-attribute name="deleted_date" type="TIMESTAMP"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="1024"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="8192"/>
|
|
|
|
|
<db-attribute name="id" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="10"/>
|
|
|
|
|
<db-attribute name="requesitos_legais" type="VARCHAR" isMandatory="true" length="1024"/>
|
|
|
|
|
<db-attribute name="requesitos_legais" type="VARCHAR" isMandatory="true" length="8192"/>
|
|
|
|
|
<db-attribute name="risco_id" type="INTEGER" isMandatory="true" length="10"/>
|
|
|
|
|
<db-key-generator>
|
|
|
|
|
<db-generator-type>ORACLE</db-generator-type>
|
|
|
|
|
@ -377,7 +377,7 @@
|
|
|
|
|
</db-entity>
|
|
|
|
|
<db-entity name="hs_relatorio_normalizacao" schema="public">
|
|
|
|
|
<db-attribute name="codigo" type="VARCHAR" isMandatory="true" length="128"/>
|
|
|
|
|
<db-attribute name="descricao" type="VARCHAR" isMandatory="true" length="1024"/>
|
|
|
|
|
<db-attribute name="descricao" type="VARCHAR" isMandatory="true" length="8192"/>
|
|
|
|
|
<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"/>
|
|
|
|
|
@ -391,7 +391,7 @@
|
|
|
|
|
<db-entity name="hs_relatorio_posto" schema="public">
|
|
|
|
|
<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="256"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="1024"/>
|
|
|
|
|
<db-attribute name="id" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="10"/>
|
|
|
|
|
<db-key-generator>
|
|
|
|
|
<db-generator-type>ORACLE</db-generator-type>
|
|
|
|
|
@ -413,7 +413,7 @@
|
|
|
|
|
</db-entity>
|
|
|
|
|
<db-entity name="hs_relatorio_risco" schema="public">
|
|
|
|
|
<db-attribute name="deleted_date" type="TIMESTAMP"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="255"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="8192"/>
|
|
|
|
|
<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>
|
|
|
|
|
@ -428,7 +428,7 @@
|
|
|
|
|
</db-entity>
|
|
|
|
|
<db-entity name="hs_risco" schema="public">
|
|
|
|
|
<db-attribute name="deleted_date" type="TIMESTAMP"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="256"/>
|
|
|
|
|
<db-attribute name="description" type="VARCHAR" isMandatory="true" length="8192"/>
|
|
|
|
|
<db-attribute name="id" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="10"/>
|
|
|
|
|
<db-attribute name="tema_id" type="INTEGER" length="10"/>
|
|
|
|
|
<db-key-generator>
|
|
|
|
|
|