<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
    <class name="com.lzw.model.TbSubType" table="tb_subType" schema="dbo" catalog="db_shop">
        <id name="id" type="java.lang.Integer">
            <column name="ID" />
            <generator class="identity" />
        </id>
        <many-to-one name="tbSuperType" class="com.lzw.model.TbSuperType" fetch="select" lazy="false">
            <column name="superType" not-null="true" />
        </many-to-one>
        <property name="typeName" type="java.lang.String">
            <column name="TypeName" length="50" not-null="true" />
        </property>
    </class>
</hibernate-mapping>
