<?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">
<hibernate-mapping>
    <class name="com.jsh.model.po.Supplier" table="jsh_supplier">
        <id name="id" type="java.lang.Long">
            <column name="id" />
            <generator class="native"/>
        </id>
        <property name="supplier" type="java.lang.String">
            <column name="supplier" not-null="true">
                <comment>名称</comment>
            </column>
        </property>
        <property name="type" type="java.lang.String">
            <column name="type" length="20">
                <comment>类型</comment>
            </column>
        </property>
        <property name="contacts" type="java.lang.String">
            <column name="contacts" length="100">
                <comment>联系人</comment>
            </column>
        </property>
        <property name="phonenum" type="java.lang.String">
            <column name="phonenum" length="30">
                <comment>电话</comment>
            </column>
        </property>
        <property name="fax" type="java.lang.String">
            <column name="fax" length="30">
                <comment>传真</comment>
            </column>
        </property>
        <property name="telephone" type="java.lang.String">
            <column name="telephone" length="30">
                <comment>手机</comment>
            </column>
        </property>
        <property name="email" type="java.lang.String">
            <column name="email" length="50">
                <comment>电子邮箱</comment>
            </column>
        </property>
        <property name="address" type="java.lang.String">
            <column name="address" length="50">
                <comment>地址</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="AdvanceIn" type="java.lang.Double">
            <column name="AdvanceIn" precision="22" scale="3">
                <comment>预收款</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="taxNum" type="java.lang.String">
            <column name="taxNum " length="50">
                <comment>纳税人识别号</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="bankName" type="java.lang.String">
            <column name="bankName " length="50">
                <comment>开户行</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="accountNumber" type="java.lang.String">
            <column name="accountNumber" length="50">
                <comment>账号</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="taxRate" type="java.lang.Double">
            <column name="taxRate" precision="22" scale="3">
                <comment>税率</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="BeginNeedGet" type="java.lang.Double">
            <column name="BeginNeedGet" precision="22" scale="3">
                <comment>期初应收</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="BeginNeedPay" type="java.lang.Double">
            <column name="BeginNeedPay" precision="22" scale="3">
                <comment>期初应付</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="AllNeedGet" type="java.lang.Double">
            <column name="AllNeedGet" precision="22" scale="3">
                <comment>累计应收</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="AllNeedPay" type="java.lang.Double">
            <column name="AllNeedPay" precision="22" scale="3">
                <comment>累计应付</comment>
            </column>
        </property>
        <property name="description" type="java.lang.String">
            <column name="description" length="500">
                <comment>备注</comment>
            </column>
        </property>
        <property name="isystem" type="java.lang.Short">
            <column name="isystem" not-null="true">
                <comment>是否系统自带 0==系统 1==非系统</comment>
            </column>
        </property>
       <property generated="never" lazy="false" name="enabled" type="boolean">
         <column length="1" name="enabled">
          <comment>启用</comment>
         </column>
       </property>
    </class>
</hibernate-mapping>
