<?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.Cliente" table="CLIENTES">
		<id name="identificador" type="java.lang.Integer">
			<column name="IDENTIFICADOR" />
			<generator class="increment" />
		</id>
		<property name="nombre" type="string">
			<column name="NOMBRE" length="50" />
		</property>
		<property name="direccion" type="string">
			<column name="DIRECCION" length="100" />
		</property>
		<property name="poblacion" type="string">
			<column name="POBLACION" length="10" />
		</property>
		<property name="cp" type="string">
			<column name="CP" length="10" />
		</property>
		<property name="provincia" type="string">
			<column name="PROVINCIA" length="50" />
		</property>
		<property name="cif" type="string">
			<column name="CIF" length="13" />
		</property>
		<property name="telefono" type="string">
			<column name="TELEFONO" length="11" />
		</property>
		<property name="fax" type="string">
			<column name="FAX" length="11" />
		</property>
		<property name="activo" type="java.lang.Boolean">
			<column name="ACTIVO" />
		</property>
		<!--
			<set name="facturas" inverse="true" lazy="false" table="FACTURA"
			fetch="select"> <key> <column name="IDENTIFICADORCLIENTE" /> </key>
			<one-to-many class="es.dalocar.software.beans.Factura" /> </set>
		-->
	</class>
</hibernate-mapping>
