<?xml version="1.0" encoding="utf-8" ?>
<!-- Licensee: Universidad de La Frontera License Type: Academic -->
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
	<class name="orm.Actividad" table="actividad" lazy="false">
		<id name="id_pk" column="id_pk" type="integer" unsaved-value="0">
			<generator class="increment">
			</generator>
		</id>
		<many-to-one name="asignatura_id_fk" cascade="lock"
			column="asignatura_id_fk" class="orm.Asignatura" not-null="true"
			lazy="no-proxy" access="field">
		</many-to-one>
		<property name="fecha" column="fecha" type="date" not-null="false"
			lazy="false" />
		<property name="tipo" column="tipo" type="string" length="100"
			not-null="false" lazy="false" />
	</class>
</hibernate-mapping>
