<?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.Order" table="order" 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="50" />
        </property>
        <property name="productid" type="java.lang.Integer">
            <column name="productid" />
        </property>
        <property name="quantity" type="java.lang.Integer">
            <column name="quantity" />
        </property>
        <property name="totalprice" type="java.lang.Double">
            <column name="totalprice" precision="10" />
        </property>
        <property name="payment" type="java.lang.String">
            <column name="payment" />
        </property>
        <property name="postway" type="java.lang.String">
            <column name="postway" />
        </property>
        <property name="orderdatetime" type="java.sql.Timestamp">
            <column name="orderdatetime" length="0" />
        </property>
        <property name="ifpay" type="java.lang.Integer">
            <column name="ifpay" />
        </property>
        <property name="ifsent" type="java.lang.Integer">
            <column name="ifsent" />
        </property>
    </class>
</hibernate-mapping>
