<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<!-- Generated by Hibernate Tools 3.4.0.CR1 -->
<hibernate-mapping>
    <class name="org.yidu.novel.entity.TMessage" table="t_message" schema="public">
        <comment>t_message</comment>
        <id name="messageno" type="int">
            <column name="messageno" />
            <generator class="sequence">
                <param name="sequence">t_message_messageno_seq</param>
            </generator>
        </id>
        <property name="userno" type="java.lang.Integer">
            <column name="userno">
                <comment>userno</comment>
            </column>
        </property>
        <property name="loginid" type="string">
            <column name="loginid" length="32">
                <comment>loginid</comment>
            </column>
        </property>
        <property name="touserno" type="java.lang.Integer">
            <column name="touserno">
                <comment>touserno</comment>
            </column>
        </property>
        <property name="tologinid" type="string">
            <column name="tologinid" length="32">
                <comment>tologinid</comment>
            </column>
        </property>
        <property name="title" type="string">
            <column name="title" length="32">
                <comment>title</comment>
            </column>
        </property>
        <property name="content" type="string">
            <column name="content">
                <comment>content</comment>
            </column>
        </property>
        <property name="category" type="java.lang.Short">
            <column name="category">
                <comment>category</comment>
            </column>
        </property>
        <property name="isread" type="java.lang.Boolean">
            <column name="isread">
                <comment>isread</comment>
            </column>
        </property>
        <property name="postdate" type="timestamp">
            <column name="postdate" length="35">
                <comment>timestamp</comment>
            </column>
        </property>
        <property name="deleteflag" type="java.lang.Boolean">
            <column name="deleteflag" />
        </property>
        <property name="modifyuserno" type="java.lang.Integer">
            <column name="modifyuserno" />
        </property>
        <property name="modifytime" type="timestamp">
            <column name="modifytime" length="29" />
        </property>
    </class>
</hibernate-mapping>
