<?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.AccessAuditory" table="ACCESS_AUDITORY">
        <id name="id">
            <generator class="increment"/>
        </id>
        <property name="loginDate" column="login_Date"/>
        <many-to-one name="user"
                     column="user_id"
                     not-null="true"
                     class="com.wisemapping.model.User"
                />
    </class>

</hibernate-mapping>