--- /dev/null
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<hibernate-mapping default-lazy="false" auto-import="false">
+ <import class="com.pentila.entSavoie.shortCuts.model.ShortCut" />
+ <import class="com.pentila.entSavoie.shortCuts.model.ShortCutFolder" />
+ <class name="com.pentila.entSavoie.shortCuts.model.impl.ShortCutImpl" table="ShortCut_ShortCut">
+ <cache usage="read-write" />
+ <id name="shortCutId" type="long">
+ <generator class="assigned" />
+ </id>
+ <property name="shortCutName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
+ <property name="entryId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
+ <property name="userId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
+ <property name="shortCutUrl" type="com.liferay.portal.dao.orm.hibernate.StringType" />
+ <property name="type" type="com.liferay.portal.dao.orm.hibernate.StringType" column="type_" />
+ <property name="dateShortCut" type="org.hibernate.type.TimestampType" />
+ <property name="shortCutFolderId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
+ </class>
+ <class name="com.pentila.entSavoie.shortCuts.model.impl.ShortCutFolderImpl" table="ShortCut_ShortCutFolder">
+ <cache usage="read-write" />
+ <id name="shortCutFolderId" type="long">
+ <generator class="assigned" />
+ </id>
+ <property name="shortCutFolderName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
+ <property name="userId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
+ <property name="parentShortCutFolderId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
+ </class>
+</hibernate-mapping>
\ No newline at end of file