Information.hbm.xml~32~
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:1k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
  3. <hibernate-mapping>
  4.   <class name="com.chinacannel.entity.Information" table="Information">
  5.     <id column="Inf_ID" name="inf_ID" type="java.lang.Long">
  6.       <generator class="native"/>
  7.     </id>
  8.     <property column="Inf_Title" length="50" name="inf_Title" type="java.lang.String"/>
  9.     <property column="Inf_Content" name="inf_Content" type="java.lang.String"/>
  10.     <property column="Inf_Time" name="inf_Time" type="java.util.Date"/>
  11.     <property column="Inf_Default" name="inf_Default" type="java.lang.Long"/>
  12.     <property column="Inf_Language" length="20" name="inf_Language" type="java.lang.String"/>
  13.     <property column="Inf_Key" length="50" name="inf_Key" type="java.lang.String"/>
  14.     <property column="Inf_Key" name="inf_Key" type="java.lang.String"/>
  15.     <property column="Inf_Summary" length="50" name="inf_Summary" type="java.lang.String"/>
  16.     <many-to-one name="category" class="com.chinacannel.entity.Category" not-null="true">
  17.       <column name="Inf_CatID" />
  18.     </many-to-one>
  19.     <many-to-one name="menu" class="com.chinacannel.entity.Menu" not-null="true">
  20.       <column name="Inf_MenID" />
  21.     </many-to-one>
  22.     <many-to-one name="image" class="com.chinacannel.entity.Image" not-null="true">
  23.       <column name="Inf_ImageID" />
  24.     </many-to-one>
  25.   </class>
  26. </hibernate-mapping>