?? boards.hbm.xml
字號:
<?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.laoer.bbscs.bean.Boards" table="BBSCS_BOARDS">
<id column="ID" length="13" name="id" type="long" unsaved-value="null">
<generator class="net.sf.hibernate.id.TableCustomGenerator">
<param name="table">BBSCS_TABLEID</param>
<param name="column">IDValue</param>
<param name="id">3</param>
<param name="increment">15</param>
</generator>
</id>
<!-- <property column="BoardID" length="13" name="boardID" not-null="true" type="long" insert="false" update="false"/> -->
<property column="BoardsName" length="30" name="boardsName" not-null="true" type="string"/>
<property column="BoardsEName" length="20" name="boardsEName" not-null="true" type="string"/>
<property column="MainMaster" length="20" name="mainMaster" type="string"/>
<property column="AssiMaster" length="110" name="assiMaster" type="string"/>
<property column="HideMaster" length="65" name="hideMaster" type="string"/>
<property column="Explains" length="250" name="explains" type="string"/>
<property column="Bulletin" length="2000" name="bulletin" type="string"/>
<property column="UseStat" length="1" name="useStat" not-null="true" type="short"/>
<property column="Orders" length="4" name="orders" not-null="true" type="short"/>
<property column="MainPostNum" length="11" name="mainPostNum" not-null="true" type="int"/>
<property column="PostNum" length="11" name="postNum" not-null="true" type="int"/>
<property column="Pic" length="250" name="pic" type="string"/>
<property column="LastPostTitle" length="100" name="lastPostTitle" type="string"/>
<property column="LastPostID" length="13" name="lastPostID" not-null="true" type="long"/>
<property column="LastPostUser" length="20" name="lastPostUser" type="string"/>
<property column="LastPostUserID" length="13" name="lastPostUserID" not-null="true" type="long"/>
<property column="LastPostTime" length="13" name="lastPostTime" not-null="true" type="long"/>
<property column="Attrib1" length="1" name="attrib1" not-null="true" type="short"/>
<property column="Attrib2" length="1" name="attrib2" not-null="true" type="short"/>
<property column="Attrib3" length="1" name="attrib3" not-null="true" type="short"/>
<property column="Attrib4" length="1" name="attrib4" not-null="true" type="short"/>
<property column="Attrib5" length="1" name="attrib5" not-null="true" type="short"/>
<property column="Attrib6" length="1" name="attrib6" not-null="true" type="short"/>
<property column="Attrib7" length="1" name="attrib7" not-null="true" type="short"/>
<property column="Attrib8" length="1" name="attrib8" not-null="true" type="short"/>
<property column="Attrib9" length="1" name="attrib9" not-null="true" type="short"/>
<property column="Attrib10" length="1" name="attrib10" not-null="true" type="short"/>
<property column="UserCanIn" length="4000" name="userCanIn" type="string"/>
<many-to-one name="board" class="com.laoer.bbscs.bean.Board" column="BoardID"/>
</class>
</hibernate-mapping>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -