You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.1 KiB

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
Mapping file autogenerated by MyEclipse - Hibernate Tools
-->
<hibernate-mapping package="cn.lee.market.model">
<class name="Comment" table="t_comment" catalog="market">
<id name="id" type="string">
<column name="ID" length="50" />
<generator class="uuid.hex"></generator>
</id>
<many-to-one name="TUser" class="User" fetch="select">
<column name="USER_ID" length="50" not-null="true" />
</many-to-one>
<many-to-one name="TMessage" class="Message" fetch="select">
<column name="MESSAGE_ID" length="50" not-null="true" />
</many-to-one>
<property name="content" type="string">
<column name="CONTENT" length="200" not-null="true" />
</property>
<property name="create_time" type="timestamp">
<column name="CREATE_TIME" length="19" not-null="true" />
</property>
</class>
</hibernate-mapping>