applications/humanres/entitydef/entitymodel_old.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd">
<title>Entity of an Apache OFBiz Component</title>
<description>None</description>
<version>1.0</version>
<entity entity-name="OldEmplPositionTypeRate" table-name="EMPL_POSITION_TYPE_RATE"
package-name="org.ofbiz.humanres.position"
title="EmplPosition Type Rate">
<field name="emplPositionTypeId" type="id-ne"/>
<field name="periodTypeId" type="id-ne"/>
<field name="payGradeId" type="id"/>
<field name="salaryStepSeqId" type="id"/>
<field name="rateTypeId" type="id"/>
<field name="fromDate" type="date-time"/>
<field name="thruDate" type="date-time"/>
<field name="rate" type="id"/>
<prim-key field="emplPositionTypeId"/>
<prim-key field="periodTypeId"/>
<prim-key field="fromDate"/>
<relation type="one" fk-name="EMPL_PSTPRT_EPTP" rel-entity-name="EmplPositionType">
<key-map field-name="emplPositionTypeId"/>
</relation>
<relation type="one" fk-name="EMPL_PSTPRT_PRDTYP" rel-entity-name="PeriodType">
<key-map field-name="periodTypeId"/>
</relation>
<relation type="one-nofk" fk-name="EMPL_PSTPRT_SSTP" rel-entity-name="SalaryStep">
<key-map field-name="salaryStepSeqId"/>
<key-map field-name="payGradeId"/>
</relation>
<relation type="one-nofk" fk-name="EMPL_PSTPRT_RTTYP" rel-entity-name="RateType">
<key-map field-name="rateTypeId"/>
</relation>
</entity>
</entitymodel>