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.

48 lines
1.9 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.Goods" table="t_goods" catalog="lostfound">
<id name="id" type="java.lang.Integer">
<column name="id" />
<generator class="assigned" />
</id>
<many-to-one name="user" class="model.User" fetch="select">
<column name="creator_id" not-null="true" />
</many-to-one>
<many-to-one name="classify" class="model.Classify" fetch="select">
<column name="classify_id" />
</many-to-one>
<property name="goodsdescribe" type="java.lang.String">
<column name="goodsdescribe" />
</property>
<property name="goodsname" type="java.lang.String">
<column name="goodsname" length="30" />
</property>
<property name="goodsstatus" type="java.lang.Integer">
<column name="goodsstatus" not-null="true" />
</property>
<property name="goodstime" type="java.sql.Timestamp">
<column name="goodstime" length="19" />
</property>
<property name="area" type="java.lang.String">
<column name="area" length="30" />
</property>
<property name="contact" type="java.lang.String">
<column name="contact" length="30" />
</property>
<property name="qq" type="java.lang.String">
<column name="qq" length="30" />
</property>
<property name="picture" type="java.lang.String">
<column name="picture" length="255" />
</property>
<property name="createTime" type="java.sql.Timestamp">
<column name="createtime" length="19" />
</property>
</class>
</hibernate-mapping>