2
<!DOCTYPE hibernate-mapping PUBLIC
3
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
7
<class name="org.hisp.dhis.organisationunit.OrganisationUnitHierarchy" table="orgunithierarchy">
8
<id name="id" column="orgunithierarchyid">
9
<generator class="native"/>
12
<property name="date" type="date"/>
14
<map name="structure" table="orgunithierarchystructure">
15
<key column="orgunithierarchyid"/>
16
<map-key column="organisationunitid" type="integer"/>
17
<element column="parentid" type="integer"/>