<?xml version="1.0"?>
<!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="com.wisemapping.model.MindMapHistory" table="MINDMAP_HISTORY">
        <id name="id">
            <generator class="increment"/>
        </id>

        <property name="mindmapId" column="mindmap_id"/>
        <property name="xml" column="XML"/>
        <property name="creationTime" column="creation_date"/>
        <many-to-one name="editor" column="editor_id" unique="false" not-null="false" lazy="proxy"/>
    </class>

</hibernate-mapping>
