DownLoad.hbm.xml~1~
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:1k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
- <hibernate-mapping>
- <class name="com.chinacannel.entity.DownLoad" table="DownLoad">
- <id column="Dow_ID" name="dow_ID" type="java.lang.Long">
- <generator class="native"/>
- </id>
- <property column="Dow_Title" length="100" name="dow_Title" type="java.lang.String"/>
- <property column="Dow_Summary" length="1000" name="dow_Summary" type="java.lang.String"/>
- <property column="Dow_Time" name="dow_Time" type="java.util.Date"/>
- <property column="Dow_Order" name="dow_Order" type="java.lang.Long"/>
- <property column="Dow_Language" length="20" name="dow_Language" type="java.lang.String"/>
- <many-to-one name="fileUp" class="com.chinacannel.entity.Image" not-null="true">
- <column name="Dow_FileID" />
- </many-to-one>
- <many-to-one name="imageUp" class="com.chinacannel.entity.Image" not-null="true">
- <column name="Dow_ImageUp" />
- </many-to-one>
- <many-to-one name="category" class="com.chinacannel.entity.Category" not-null="true">
- <column name="Dow_CategoryID" />
- </many-to-one>
- </class>
- </hibernate-mapping>