<?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 29-oct-2009 22:50:47 by Hibernate Tools 3.2.4.GA -->
<hibernate-mapping>
    <class name="es.dalocar.software.beans.LineaFactura" table="LINEAFACTURA">
        <composite-id name="id" class="es.dalocar.software.beans.LineaFacturaId">
            <key-property name="numerolinea" type="java.lang.Integer">
                <column name="NUMEROLINEA" />
            </key-property>
            <key-property name="numerofactura" type="java.lang.Integer">
                <column name="NUMEROFACTURA" />
            </key-property>
            <key-property name="anyofactura" type="java.lang.Integer">
                <column name="ANYOFACTURA" />
            </key-property>
        </composite-id>
       <!--  <many-to-one name="factura" class="es.dalocar.software.beans.Factura" update="false" insert="false" fetch="select">
            <column name="NUMEROFACTURA" not-null="true" />
            <column name="ANYOFACTURA" 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>
    </class>
</hibernate-mapping>
