<?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 package="com.zzf.web.module.bbs.entities">
<class name="Member" table="tb_member" catalog="databaseName">
<id name="Id" type="java.lang.String">
<column name="member_id" />
<generator class="assigned"/>
</id>
<property name="groupId" type="java.lang.Integer">
<column name="group_id" not-null="false"/>
</property>
<property name="memberName" type="java.lang.String">
<column name="member_name" length="20" not-null="true" />
</property>
<property name="memberPswd" type="java.lang.String">
<column name="member_pswd" length="50" not-null="true" />
</property>
<property name="memberEmail" type="java.lang.String">
<column name="member_email" length="40" not-null="true" />
</property>
<property name="memberStatus" type="java.lang.String">
<column name="member_status" length="2" />
</property>
<property name="integral" type="java.lang.Integer">
<column name="member_integral" />
</property>
<property name="memberRegisterTime" type="java.util.Date">
<column name="member_register_time" />
</property>
<property name="lastLoginDate" type="java.util.Date">
<column name="last_login_date" />
</property>
<property name="memberLoginTime" type="java.lang.Integer">
<column name="member_login_time" />
</property>
<many-to-one name="memberlevel" class="com.*.web.*.*.entities.*" lazy="false"
not-null="false">
<column name="memberlevel_id" />
</many-to-one>
</class>
</hibernate-mapping>
Hibernate的映射文件
最新推荐文章于 2024-08-19 16:01:20 发布