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.

39 lines
1.4 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 Persistence Tools
-->
<hibernate-mapping>
<class name="model.TUser" table="t_user" catalog="lostfound">
<id name="id" type="java.lang.Integer">
<column name="id" />
<generator class="identity" />
</id>
<property name="username" type="java.lang.String">
<column name="username" />
</property>
<property name="sex" type="java.lang.Integer">
<column name="SEX" />
</property>
<property name="phone" type="java.lang.String">
<column name="PHONE" />
</property>
<property name="password" type="java.lang.String">
<column name="PASSWORD" />
</property>
<property name="qusetion" type="java.lang.String">
<column name="QUSETION" />
</property>
<property name="answer" type="java.lang.String">
<column name="ANSWER" />
</property>
<set name="TGoodses" inverse="true">
<key>
<column name="user_id" not-null="true" />
</key>
<one-to-many class="model.TGoods" />
</set>
</class>
</hibernate-mapping>