<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated 03-may-2010 23:15:26 by Hibernate Tools 3.2.4.GA -->
<hibernate-mapping>
    <class name="es.dalocar.software.beans.LineaAmortizacion" table="LINEAAMORTIZACION">
        <composite-id name="id" class="es.dalocar.software.beans.LineaAmortizacionId">
            <key-property name="numerolinea" type="int">
                <column name="NUMEROLINEA" />
            </key-property>
            <key-property name="numerofactura" type="int">
                <column name="NUMEROFACTURA" />
            </key-property>
            <key-property name="anyofactura" type="int">
                <column name="ANYOFACTURA" />
            </key-property>
        </composite-id>
        <many-to-one name="amortizacion" class="es.dalocar.software.beans.Amortizacion" update="false" insert="false" fetch="select">
            <column name="NUMEROFACTURA" not-null="true" />
            <column name="ANYO" not-null="true" />
        </many-to-one>
        <property name="cantidad" type="java.lang.Double">
            <column name="CANTIDAD" precision="0" scale="0" />
        </property>
        <property name="descripcion" type="string">
            <column name="DESCRIPCION" length="200" />
        </property>
        <property name="precio" type="java.lang.Double">
            <column name="PRECIO" precision="0" scale="0" />
        </property>
        <property name="iva" type="java.lang.Double">
            <column name="IVA" precision="0" scale="0" />
        </property>
        <property name="numero" type="int">
            <column name="NUMERO" not-null="true" />
        </property>
    </class>
</hibernate-mapping>
