<?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>
    <class name="com.shop.model.User" table="user" catalog="ktshop">
        <id name="id" type="java.lang.Integer">
            <column name="Id" />
            <generator class="identity" />
        </id>
        <property name="username" type="java.lang.String">
            <column name="username" length="20" />
        </property>
        <property name="password" type="java.lang.String">
            <column name="password" length="20" />
        </property>
        <property name="sex" type="java.lang.Integer">
            <column name="sex" />
        </property>
        <property name="birthday" type="java.util.Date">
            <column name="birthday" length="0" />
        </property>
        <property name="education" type="java.lang.String">
            <column name="education" length="50" />
        </property>
        <property name="job" type="java.lang.String">
            <column name="job" length="50" />
        </property>
        <property name="friends" type="java.lang.String">
            <column name="friends" length="50" />
        </property>
        <property name="pic" type="java.lang.String">
            <column name="pic" length="200" />
        </property>
        <property name="hobby" type="java.lang.String">
            <column name="hobby" />
        </property>
        <property name="province" type="java.lang.String">
            <column name="province" length="50" />
        </property>
        <property name="city" type="java.lang.String">
            <column name="city" length="50" />
        </property>
        <property name="telphone" type="java.lang.String">
            <column name="telphone" />
        </property>
        <property name="mobilephone" type="java.lang.String">
            <column name="mobilephone" length="50" />
        </property>
        <property name="email" type="java.lang.String">
            <column name="email" length="50" />
        </property>
        <property name="address" type="java.lang.String">
            <column name="address" />
        </property>
        <property name="post" type="java.lang.Integer">
            <column name="post" />
        </property>
        <property name="message" type="java.lang.String">
            <column name="message" length="65535" />
        </property>
        <property name="regdatetime" type="java.sql.Timestamp">
            <column name="regdatetime" length="0" />
        </property>
    </class>
</hibernate-mapping>
