﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
    <class name="Fuli.Entity.Domain.Vendor, Fuli.Entity" table="Vendor">

        <id name="Id" column="Id" type="Int64" unsaved-value="0">
            <generator class="native"/>
        </id>
        <property name="UserAccount" type="String" column="UserAccount" />
        <property name="Password" type="String" column="Password" />
        <property name="Name" type="String" column="Name" />
        <property name="Phone" type="String" column="Phone" />
        <property name="CreateTime" type="DateTime" column="CreateTime" />
        <property name="IsEnable" type="Boolean" column="IsEnable" />
        <property name="Email" type="String" column="Email" />
        <property name="ProvinceId" type="Int64" column="ProvinceId" />
        <property name="CityId" type="Int64" column="CityId" />
        <property name="DistrictId" type="Int64" column="DistrictId" />
        <property name="DetailAddress" type="String" column="DetailAddress" />
		<property name="UserInfoId" type="long" column="UserInfoId" />
		<property name="BusinessCategory" type="string" column="BusinessCategory" />
		<property name="Status" type="int" column="Status" />
		<property name="ShopName" type="string" column="ShopName" />
		<property name="Remark" type="string" column="Remark" />
		<property name="LogoPath" type="string" column="LogoPath" />
      <property name="ShopFeatures" type="string" column="ShopFeatures" />
      <property name="WapLogoPath" type="string" column="WapLogoPath" />

      <property name="BusinessLicenseReigstNumber" type="string" column="BusinessLicenseReigstNumber" />
      <property name="BusinessLicenseStartTime" type="DateTime" column="BusinessLicenseStartTime" />
      <property name="BusinessLicenseEndTime" type="DateTime" column="BusinessLicenseEndTime" />
      <property name="BusinessLicenseAdress" type="string" column="BusinessLicenseAdress" />
      <property name="RegisteredCapital" type="Int32" column="RegisteredCapital" />
      <property name="LegalPerson" type="string" column="LegalPerson" />
      <property name="LegalAdress" type="string" column="LegalAdress" />
      <property name="LegalNumber" type="string" column="LegalNumber" />
      <property name="LegalFex" type="string" column="LegalFex" />
      <property name="PayAccount" type="string" column="PayAccount" />
      <property name="RegisteredAmount" type="decimal" column="RegisteredAmount" />
      <property name="IsPay" type="bool" column="IsPay" />
      <property name="VendorInfo" type="string" column="VendorInfo" />
      
      <property name="IsPayTime" type="DateTime" column="IsPayTime" />
      <property name="VendorType" type="int" column="VendorType" />
      <property name="IsEntity" type="bool" column="IsEntity" />
      <property name="BackGroundPath" type="string" column="BackGroundPath" />
      <property name="IsLogoShow" type="bool" column="IsLogoShow" />
      <property name="BusinessTime" type="string" column="BusinessTime" />
      <property name="WorkDay" type="string" column="WorkDay" />

      
      <property name="OpenBankName" type="string" column="OpenBankName" />
      <property name="SettlementAction" type="int" column="SettlementAction" />
      <property name="BankName" type="string" column="BankName" />
      <property name="VendorCommon" type="int" column="VendorCommon" />
  <property name="SysCode" type="string" column="SysCode" />
 <property name="BrandId" type="Int64" column="BrandId" />
      <property name="JieSuanZhouQi" type="int" column="JieSuanZhouQi" />
      <property name="ContactCardNumber" type="string" column="ContactCardNumber"/>
      <property name="IsDelivery" type="bool" column="IsDelivery"></property>

    </class>
</hibernate-mapping>
