<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
	
	<class name="Document" table="DOCUMENT">
		<id name="id" column="ID">
			<generator class="increment"/>
		</id>

		<many-to-one name="address" column="ADDRESSID"/>

		<property name="total" column="TOTAL"/>
	</class>
	
</hibernate-mapping>
