本帖最后由 王海亮 于 2012-8-23 03:42 编辑
- <?xml version="1.0" encoding="utf-8"?>
- <hibernate-mapping>
- <class name="mycrm.com.entity.admin" table="admin" schema="dbo" catalog="MyCRMService">
- <composite-id name="id" class="mycrm.com.entity.adminId">
- <key-property name="FId" type="java.lang.Integer">
- <column name="F_ID" />
- </key-property>
- <key-property name="FUserName" type="java.lang.String">
- <column name="F_UserName" />
- </key-property>
- <key-property name="FPassword" type="java.lang.String">
- <column name="F_Password" />
- </key-property>
- <key-property name="FUserGrade" type="java.lang.String">
- <column name="F_UserGrade" />
- </key-property>
- <key-property name="FFlag" type="java.lang.String">
- <column name="F_Flag" />
- </key-property>
- <key-property name="FLoginCount" type="java.lang.Integer">
- <column name="F_LoginCount" />
- </key-property>
- <key-property name="FAddTime" type="java.sql.Timestamp">
- <column name="F_AddTime" length="23" />
- </key-property>
- <key-property name="FIpinfo" type="java.lang.String">
- <column name="F_IPInfo" />
- </key-property>
- </composite-id>
- </class>
- </hibernate-mapping>
复制代码 |
|