<?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.TUser" table="t_user" schema="public">
        <comment>&#131;&#134;&#129;[&#131;U</comment>
        <id name="userno" type="int">
            <column name="userno" />
            <generator class="sequence">
                <param name="sequence">t_user_userno_seq</param>
            </generator>
        </id>
        <property name="loginid" type="string">
            <column name="loginid" length="32" not-null="true">
                <comment>loginid</comment>
            </column>
        </property>
        <property name="password" type="string">
            <column name="password" length="32">
                <comment>password</comment>
            </column>
        </property>
        <property name="username" type="string">
            <column name="username" length="50">
                <comment>username</comment>
            </column>
        </property>
        <property name="email" type="string">
            <column name="email" length="60">
                <comment>email</comment>
            </column>
        </property>
        <property name="regdate" type="timestamp">
            <column name="regdate" length="29">
                <comment>regdate</comment>
            </column>
        </property>
        <property name="sex" type="java.lang.Short">
            <column name="sex">
                <comment>sex</comment>
            </column>
        </property>
        <property name="qq" type="string">
            <column name="qq" length="15">
                <comment>qq</comment>
            </column>
        </property>
        <property name="lastlogin" type="timestamp">
            <column name="lastlogin" length="29">
                <comment>lastlogin</comment>
            </column>
        </property>
        <property name="lineno" type="string">
            <column name="lineno" length="32">
                <comment>lineno</comment>
            </column>
        </property>
        <property name="type" type="java.lang.Short">
            <column name="type">
                <comment>type : 10:normal user 20:auther 30:system administrator</comment>
            </column>
        </property>
        <property name="votecount" type="java.lang.Integer">
            <column name="votecount">
                <comment>votecount</comment>
            </column>
        </property>
        <property name="deleteflag" type="java.lang.Boolean">
            <column name="deleteflag" />
        </property>
        <property name="realname" type="string">
            <column name="realname" length="10" />
        </property>
        <property name="id" type="string">
            <column name="id" length="18" />
        </property>
        <property name="mobileno" type="string">
            <column name="mobileno" length="11" />
        </property>
        <property name="branch" type="string">
            <column name="branch" length="50" />
        </property>
        <property name="bankno" type="string">
            <column name="bankno" length="20" />
        </property>
        <property name="alipayacount" type="string">
            <column name="alipayacount" length="50" />
        </property>
        <property name="category" type="java.lang.Integer">
            <column name="category" />
        </property>
        <property name="subcategory" type="java.lang.Integer">
            <column name="subcategory" />
        </property>
        <property name="modifyuserno" type="java.lang.Integer">
            <column name="modifyuserno" />
        </property>
        <property name="modifytime" type="timestamp">
            <column name="modifytime" length="29" />
        </property>
        <property name="openid" type="string">
            <column name="openid" length="50" />
        </property>
        <property name="activedflag" type="java.lang.Boolean">
            <column name="activedflag" />
        </property>
        <property name="mailtoken" type="string">
            <column name="mailtoken" length="32" />
        </property>
    </class>
</hibernate-mapping>
