<?xml version="1.0" encoding="utf-8"?>
<Schema Namespace="BAHAModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
  <EntityContainer Name="BAHAEntities" annotation:LazyLoadingEnabled="true">
    <FunctionImport Name="MPOS_GarsonGiris" ReturnType="Collection(BAHAModel.MPOS_GarsonGiris_Result)">
      <Parameter Name="DepKod" Mode="In" Type="String" />
      <Parameter Name="Sifre" Mode="In" Type="String" />
    </FunctionImport>
    <FunctionImport Name="MPOS_HesapKapat" ReturnType="Collection(String)">
      <Parameter Name="DepKodu" Mode="In" Type="String" />
      <Parameter Name="MasaNo" Mode="In" Type="String" />
      <Parameter Name="OdemeTuru" Mode="In" Type="String" />
    </FunctionImport>
    <FunctionImport Name="MPOS_MasaListesi" ReturnType="Collection(BAHAModel.MPOS_MasaListesi_Result)">
      <Parameter Name="DepKod" Mode="In" Type="String" />
    </FunctionImport>
    <FunctionImport Name="MPOS_UrunEkle" ReturnType="Collection(BAHAModel.MPOS_UrunEkle_Result)">
      <Parameter Name="DepKodu" Mode="In" Type="String" />
      <Parameter Name="MasaNo" Mode="In" Type="String" />
      <Parameter Name="UrunId" Mode="In" Type="Int32" />
      <Parameter Name="Adet" Mode="In" Type="Double" />
      <Parameter Name="Fiyat" Mode="In" Type="Double" />
      <Parameter Name="Ozellik" Mode="In" Type="String" />
      <Parameter Name="GarsonId" Mode="In" Type="Int32" />
    </FunctionImport>
    <FunctionImport Name="MPOS_UrunListesi" ReturnType="Collection(BAHAModel.MPOS_UrunListesi_Result)" />
    <EntitySet Name="OZELLIK" EntityType="BAHAModel.OZELLIK" />
    <EntitySet Name="STOK" EntityType="BAHAModel.STOK" />
    <EntitySet Name="STOKGRUP" EntityType="BAHAModel.STOKGRUP" />
    <AssociationSet Name="FK_OZELLIK_STOK" Association="BAHAModel.FK_OZELLIK_STOK">
      <End Role="STOK" EntitySet="STOK" />
      <End Role="OZELLIK" EntitySet="OZELLIK" />
    </AssociationSet>
    <AssociationSet Name="FK_STOK_STOKgrup" Association="BAHAModel.FK_STOK_STOKgrup">
      <End Role="STOKGRUP" EntitySet="STOKGRUP" />
      <End Role="STOK" EntitySet="STOK" />
    </AssociationSet>
    <FunctionImport Name="MPos_HesapGoster" ReturnType="Collection(BAHAModel.MPos_HesapGoster_Result)">
      <Parameter Name="DepKodu" Mode="In" Type="String" />
      <Parameter Name="MasaNo" Mode="In" Type="String" />
    </FunctionImport>
  </EntityContainer>
  <ComplexType Name="MPOS_GarsonGiris_Result">
    <Property Type="String" Name="GKODU" Nullable="false" MaxLength="15" />
    <Property Type="String" Name="GADI" Nullable="true" MaxLength="25" />
    <Property Type="String" Name="GSIFRE" Nullable="true" MaxLength="50" />
    <Property Type="String" Name="DEPKODU" Nullable="true" MaxLength="200" />
    <Property Type="Int32" Name="ID" Nullable="false" />
    <Property Type="String" Name="GYETKI" Nullable="true" MaxLength="50" />
    <Property Type="Int32" Name="GGRUPID" Nullable="true" />
    <Property Type="Boolean" Name="ELPOS" Nullable="true" />
    <Property Type="Boolean" Name="POS" Nullable="true" />
  </ComplexType>
  <ComplexType Name="MPOS_MasaListesi_Result">
    <Property Type="String" Name="MASANO" Nullable="true" MaxLength="50" />
    <Property Type="String" Name="MASAGRUP" Nullable="true" MaxLength="15" />
    <Property Type="Int32" Name="STATU" Nullable="true" />
    <Property Type="Int32" Name="FISCOUNTER" Nullable="true" />
    <Property Type="Double" Name="TOPLAM" Nullable="true" />
    <Property Type="DateTime" Name="ASAATI" Nullable="true" Precision="23" />
  </ComplexType>
  <ComplexType Name="MPOS_UrunEkle_Result">
    <Property Type="Int32" Name="FISCOUNTER" Nullable="false" />
    <Property Type="String" Name="DEPKODU" Nullable="true" MaxLength="15" />
    <Property Type="String" Name="MASANO" Nullable="true" MaxLength="50" />
    <Property Type="DateTime" Name="TARIH" Nullable="true" Precision="23" />
    <Property Type="DateTime" Name="ASAATI" Nullable="true" Precision="23" />
    <Property Type="DateTime" Name="KSAATI" Nullable="true" Precision="23" />
    <Property Type="Int32" Name="FISNO" Nullable="true" />
    <Property Type="String" Name="ODERNO" Nullable="true" MaxLength="50" />
    <Property Type="String" Name="ADISYONNO" Nullable="true" MaxLength="15" />
    <Property Type="String" Name="GARSONKODU" Nullable="true" MaxLength="15" />
    <Property Type="String" Name="YETKILIKODU" Nullable="true" MaxLength="15" />
    <Property Type="String" Name="TUR" Nullable="true" MaxLength="10" />
    <Property Type="String" Name="MUSTERIKODU" Nullable="true" MaxLength="30" />
    <Property Type="String" Name="MUSTERIADI" Nullable="true" MaxLength="50" />
    <Property Type="Double" Name="MUSTERIBAKIYE" Nullable="true" />
    <Property Type="Double" Name="INDORAN" Nullable="true" />
    <Property Type="Double" Name="INDTOPLAM" Nullable="true" />
    <Property Type="Double" Name="SERVISORAN" Nullable="true" />
    <Property Type="Double" Name="SERVISTUTAR" Nullable="true" />
    <Property Type="Double" Name="TOPLAM" Nullable="true" />
    <Property Type="String" Name="FUNVANI" Nullable="true" MaxLength="50" />
    <Property Type="String" Name="FADRESI1" Nullable="true" MaxLength="50" />
    <Property Type="String" Name="FADRESI2" Nullable="true" MaxLength="50" />
    <Property Type="String" Name="FVD" Nullable="true" MaxLength="25" />
    <Property Type="String" Name="FVDNO" Nullable="true" MaxLength="25" />
    <Property Type="Double" Name="KDV" Nullable="true" />
    <Property Type="Double" Name="MATRAH" Nullable="true" />
    <Property Type="Double" Name="ONAKIT" Nullable="true" />
    <Property Type="Double" Name="OKK" Nullable="true" />
    <Property Type="Double" Name="OTICKET" Nullable="true" />
    <Property Type="Double" Name="OACIK" Nullable="true" />
    <Property Type="Double" Name="YTOPLAM" Nullable="true" />
    <Property Type="Double" Name="ITOPLAM" Nullable="true" />
    <Property Type="String" Name="FYAZIYLA" Nullable="true" MaxLength="80" />
    <Property Type="Int32" Name="KISI" Nullable="true" />
    <Property Type="String" Name="MODANO" Nullable="true" MaxLength="15" />
    <Property Type="Double" Name="MKNO" Nullable="true" />
    <Property Type="Boolean" Name="FISLI" Nullable="true" />
    <Property Type="Double" Name="STOPLAM" Nullable="true" />
    <Property Type="Int32" Name="YAZCOUNT" Nullable="true" />
    <Property Type="String" Name="KKTURU" Nullable="true" MaxLength="50" />
    <Property Type="String" Name="TICKETTURU" Nullable="true" MaxLength="50" />
    <Property Type="Int32" Name="DIRTY" Nullable="true" />
    <Property Type="String" Name="DTURU" Nullable="true" MaxLength="50" />
    <Property Type="Double" Name="DTOPLAM" Nullable="true" />
    <Property Type="String" Name="FKISINO" Nullable="true" MaxLength="50" />
    <Property Type="Double" Name="OTICKET2" Nullable="true" />
    <Property Type="Double" Name="OTICKET3" Nullable="true" />
    <Property Type="Double" Name="OTICKET4" Nullable="true" />
    <Property Type="Double" Name="VPARA" Nullable="true" />
    <Property Type="Int32" Name="MUSTERIID" Nullable="true" />
    <Property Type="String" Name="MODAADI" Nullable="true" MaxLength="255" />
    <Property Type="Double" Name="DOVIZTOPLAM" Nullable="true" />
    <Property Type="Double" Name="DOVIZKURU" Nullable="true" />
    <Property Type="String" Name="KASIYER" Nullable="true" MaxLength="15" />
    <Property Type="Int32" Name="SECINDID" Nullable="true" />
    <Property Type="String" Name="INDSEBEP" Nullable="true" MaxLength="50" />
    <Property Type="Double" Name="PBAKIYE" Nullable="true" />
    <Property Type="Double" Name="INDTUTAR" Nullable="true" />
    <Property Type="Int32" Name="MID" Nullable="true" />
    <Property Type="Int32" Name="SUBEID" Nullable="true" />
    <Property Type="Int32" Name="AKTARILDI" Nullable="true" />
    <Property Type="String" Name="ACIKLAMA" Nullable="true" MaxLength="50" />
    <Property Type="String" Name="MUSKARTNO" Nullable="true" MaxLength="50" />
    <Property Type="Int32" Name="MARS" Nullable="true" />
    <Property Type="DateTime" Name="MARSSAATI" Nullable="true" Precision="23" />
    <Property Type="Double" Name="KALANKREDI" Nullable="true" />
    <Property Type="Double" Name="ODENMEZTOPLAM" Nullable="true" />
    <Property Type="String" Name="ODERSERINO" Nullable="true" MaxLength="50" />
    <Property Type="Int32" Name="MASASTATU" Nullable="true" />
    <Property Type="String" Name="WEBPOSMSG" Nullable="true" MaxLength="255" />
    <Property Type="String" Name="URUNFIYATTIPI" Nullable="true" MaxLength="20" />
    <Property Type="String" Name="YAZARKASA_REF_NO" Nullable="true" MaxLength="50" />
    <Property Type="Boolean" Name="YAZARKASA_DURUM" Nullable="true" />
    <Property Type="Int32" Name="EFATURADURUM" Nullable="true" />
    <Property Type="String" Name="EFATURA_PKUTUSU" Nullable="true" MaxLength="50" />
    <Property Type="Double" Name="OTICKET5" Nullable="true" />
    <Property Type="Double" Name="OTICKET6" Nullable="true" />
    <Property Type="Double" Name="OTICKET7" Nullable="true" />
    <Property Type="Double" Name="OTICKET1" Nullable="true" />
    <Property Type="Int32" Name="BELGETURU" Nullable="true" />
    <Property Type="Double" Name="FISTUTAR" Nullable="true" />
    <Property Type="Double" Name="FATURATUTAR" Nullable="true" />
    <Property Type="Int32" Name="IPTALCOUNTER" Nullable="true" />
    <Property Type="Boolean" Name="OMDKI" Nullable="true" />
    <Property Type="Double" Name="BAGISBORCU" Nullable="true" />
    <Property Type="Double" Name="AIDATBORCU" Nullable="true" />
    <Property Type="Double" Name="OMDINDORAN" Nullable="true" />
    <Property Type="Boolean" Name="UYEOLMAKISTIYOR" Nullable="true" />
    <Property Type="String" Name="ODEMEONAYKODU" Nullable="true" MaxLength="50" />
    <Property Type="String" Name="PUANONAYKODU" Nullable="true" MaxLength="50" />
    <Property Type="String" Name="SORGUTURU" Nullable="true" MaxLength="20" />
    <Property Type="String" Name="SORGUNO" Nullable="true" MaxLength="30" />
  </ComplexType>
  <ComplexType Name="MPOS_UrunListesi_Result">
    <Property Type="String" Name="GRUPKODU" Nullable="false" MaxLength="20" />
    <Property Type="String" Name="GRUPADI" Nullable="true" MaxLength="100" />
    <Property Type="Int32" Name="URUNID" Nullable="false" />
    <Property Type="String" Name="URUNKODU" Nullable="false" MaxLength="30" />
    <Property Type="String" Name="URUNADI" Nullable="true" MaxLength="100" />
    <Property Type="Double" Name="URUNFIYAT" Nullable="true" />
    <Property Type="String" Name="OZELLIK" Nullable="true" MaxLength="30" />
    <Property Type="Double" Name="OZELLIKFIYATI" Nullable="true" />
  </ComplexType>
  <EntityType Name="OZELLIK">
    <Key>
      <PropertyRef Name="OZELLIKID" />
    </Key>
    <Property Name="OZELLIKID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
    <Property Name="ADI" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
    <Property Name="FIYATI" Type="Double" />
    <Property Name="STOKID" Type="Int32" />
    <Property Name="KODU" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
    <NavigationProperty Name="STOK" Relationship="BAHAModel.FK_OZELLIK_STOK" FromRole="OZELLIK" ToRole="STOK" />
  </EntityType>
  <EntityType Name="STOK">
    <Key>
      <PropertyRef Name="STOKID" />
    </Key>
    <Property Name="STOKID" Type="Int32" Nullable="false" />
    <Property Name="GRUP" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="BARKOD" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
    <Property Name="KODU" Type="String" Nullable="false" MaxLength="30" FixedLength="false" Unicode="true" />
    <Property Name="ADI" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
    <Property Name="SSATICI" Type="Int32" />
    <Property Name="SALISFIYAT" Type="Double" />
    <Property Name="SFATURANO" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="SFATTARIHI" Type="DateTime" Precision="3" />
    <Property Name="SFIYAT1" Type="Double" />
    <Property Name="SFIYAT2" Type="Double" />
    <Property Name="SFIYAT3" Type="Double" />
    <Property Name="SFIYAT4" Type="Double" />
    <Property Name="SFIYAT5" Type="Double" />
    <Property Name="SDOVIZ" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
    <Property Name="AMIKTAR" Type="Double" />
    <Property Name="OPTMIKTAR" Type="Double" />
    <Property Name="ROMRU" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="RNO" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="EK1" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <Property Name="EK2" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <Property Name="EK3" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <Property Name="EK4" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <Property Name="EK5" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <Property Name="ALISKDV" Type="Double" />
    <Property Name="SATISKDV" Type="Double" />
    <Property Name="ETIKETTIPI" Type="Int32" />
    <Property Name="BIRIM" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="BIRIM2" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="KATSAYI2" Type="Double" />
    <Property Name="BIRIM3" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="KATSAYI3" Type="Double" />
    <Property Name="BIRIM4" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="KATSAYI4" Type="Double" />
    <Property Name="SAKLA" Type="Int32" />
    <Property Name="SKOMORAN" Type="Double" />
    <Property Name="BKOMORAN" Type="Double" />
    <Property Name="ALISIND" Type="Double" />
    <Property Name="SATISIND" Type="Double" />
    <Property Name="NAKLIYE" Type="Double" />
    <Property Name="SKARY" Type="Double" />
    <Property Name="BARKOD2" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="BARKOD3" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="BARKOD4" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="TURU" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
    <Property Name="URETDEPOID" Type="Int32" />
    <Property Name="BEKLALISFIYAT" Type="Double" />
    <Property Name="SFIYAT1KDV" Type="Boolean" />
    <Property Name="SFIYAT2KDV" Type="Boolean" />
    <Property Name="SFIYAT3KDV" Type="Boolean" />
    <Property Name="SFIYAT4KDV" Type="Boolean" />
    <Property Name="SFIYAT5KDV" Type="Boolean" />
    <Property Name="MALIYET" Type="Double" />
    <Property Name="HYERI" Type="Int32" />
    <Property Name="AI" Type="Boolean" />
    <Property Name="INDGRUP" Type="Int32" />
    <Property Name="SDEPART" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
    <Property Name="UAI" Type="Boolean" />
    <Property Name="GGRUP" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
    <Property Name="ODENMEZ" Type="Boolean" />
    <Property Name="HLISTE" Type="Boolean" />
    <Property Name="GADET" Type="Double" />
    <Property Name="HEDEFCOST" Type="Double" />
    <Property Name="POSTURU" Type="String" MaxLength="1" FixedLength="false" Unicode="true" />
    <Property Name="KDV" Type="Int32" />
    <Property Name="OPTIMAL" Type="Double" />
    <Property Name="ASGARI" Type="Double" />
    <Property Name="RAFNO" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="RAFOMRU" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="OZELKOD1" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
    <Property Name="OZELKOD2" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
    <Property Name="OZELKOD3" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
    <Property Name="EKKOD" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="SONALISF" Type="Double" />
    <Property Name="SONSATICI" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
    <Property Name="ALISTARIH" Type="DateTime" Precision="3" />
    <Property Name="SFIYAT" Type="Double" />
    <Property Name="SONKULLANMA" Type="DateTime" Precision="3" />
    <Property Name="ABUFE" Type="Boolean" />
    <Property Name="KISISAYISI" Type="Double" />
    <Property Name="RECETEBIRIMI" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="RECETEKATSAYISI" Type="Double" />
    <Property Name="SAYIMDURUMU" Type="Int32" />
    <Property Name="UHHOUR" Type="Boolean" />
    <Property Name="EKBILGI" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
    <Property Name="COSTFACTOR" Type="Double" />
    <Property Name="VARSAYILANBIRIM" Type="Int32" />
    <Property Name="SARFDEPOID" Type="Int32" />
    <Property Name="ORTFIYAT" Type="Double" />
    <Property Name="SONKT" Type="DateTime" Precision="3" />
    <Property Name="SUBEID" Type="Int32" />
    <Property Name="SONMALIYET" Type="Double" />
    <Property Name="KKALDIR" Type="Int32" />
    <Property Name="RANDEVUZORUNLU" Type="Int32" />
    <Property Name="ACKZORUNLU" Type="Int32" />
    <Property Name="KONTURLU" Type="Int32" />
    <Property Name="SGIDERY" Type="Double" />
    <Property Name="KARY" Type="Double" />
    <Property Name="BIRIMID" Type="Int32" />
    <Property Name="BIRIM2ID" Type="Int32" />
    <Property Name="BIRIM3ID" Type="Int32" />
    <Property Name="BIRIM4ID" Type="Int32" />
    <Property Name="SALISFBIRIM" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="SALISFBFIYAT" Type="Double" />
    <Property Name="SKODU" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <Property Name="SAYIMBIRIMI" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="SALISBFIYAT" Type="Double" />
    <Property Name="SONAMIKTAR" Type="Double" />
    <Property Name="SONABIRIM" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="STEVORAN" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
    <Property Name="SONKT2" Type="DateTime" Precision="3" />
    <Property Name="SDEPOLAR" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
    <Property Name="ALERJEN" Type="Int32" />
    <Property Name="PISIRMEMETOD" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="PISIRMESICAKLIK" Type="Double" />
    <Property Name="SUNUMSICAKLIK" Type="Double" />
    <Property Name="SOGUTMASICAKLIK" Type="Double" />
    <Property Name="SAKLAMASICAKLIK" Type="Double" />
    <Property Name="PISIRMESURE" Type="Double" />
    <Property Name="SUNUMSURE" Type="Double" />
    <Property Name="SOGUTMASURE" Type="Double" />
    <Property Name="HAZIRLIK" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
    <Property Name="GERIDONER" Type="Boolean" />
    <Property Name="STOKGRUPID" Type="Int32" />
    <Property Name="RGRUP" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
    <Property Name="SDKONTROL" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
    <Property Name="SIPYAZICI" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
    <Property Name="RAPORKATSAYISINET" Type="Double" />
    <Property Name="STDFIREORANI" Type="Double" />
    <Property Name="RAPORKATSAYISI" Type="Double" />
    <Property Name="HTURU" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="SERVIS" Type="Int32" />
    <Property Name="OTOTUKET" Type="Boolean" />
    <Property Name="FATURABIRIMI" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="SAKLAMASURE" Type="Double" />
    <Property Name="PISIRMEMETODU" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="DSATIS" Type="Boolean" />
    <Property Name="SISEBARKODTAKIP" Type="Boolean" />
    <Property Name="URETILMEZ" Type="Boolean" />
    <Property Name="KAREKODU" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
    <Property Name="IKINCIURUNIND" Type="Boolean" />
    <Property Name="POSSIRANO" Type="Int32" />
    <Property Name="TERAZIBIRIMI" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <Property Name="FIYATSORULSUN" Type="Boolean" />
    <Property Name="MIKTARSORULSUN" Type="Boolean" />
    <NavigationProperty Name="OZELLIK" Relationship="BAHAModel.FK_OZELLIK_STOK" FromRole="STOK" ToRole="OZELLIK" />
    <NavigationProperty Name="STOKGRUP" Relationship="BAHAModel.FK_STOK_STOKgrup" FromRole="STOK" ToRole="STOKGRUP" />
  </EntityType>
  <EntityType Name="STOKGRUP">
    <Key>
      <PropertyRef Name="KODU" />
    </Key>
    <Property Name="KODU" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="true" />
    <Property Name="ADI" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
    <Property Name="MUHKODU" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <Property Name="OZELKOD1" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <Property Name="SAKLA" Type="Int32" />
    <Property Name="MUHNHESAPID" Type="Int32" />
    <Property Name="MUHSHESAPID" Type="Int32" />
    <Property Name="MUHGHESAPID" Type="Int32" />
    <Property Name="TURU" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
    <Property Name="ANAGRUPUZUNLUGU" Type="Int32" />
    <Property Name="ALTGRUPUZUNLUGU" Type="Int32" />
    <Property Name="ALT2GRUPUZUNLUGU" Type="Int32" />
    <Property Name="ALKOLLU" Type="Int32" />
    <Property Name="DSATIS" Type="Int32" />
    <Property Name="STOKGRUPID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
    <Property Name="MUHAISKHESAPID" Type="Int32" />
    <Property Name="MUHSISKHESAPID" Type="Int32" />
    <Property Name="POSAKTIF" Type="Int32" />
    <Property Name="MASRAF" Type="Int32" />
    <Property Name="MUHAHESAPID" Type="Int32" />
    <Property Name="STOKUSTGRUPID" Type="Int32" />
    <Property Name="STOKALTGRUPID" Type="Int32" />
    <Property Name="STOKANAGRUPID" Type="Int32" />
    <Property Name="MIADZORUNLU" Type="Int32" />
    <Property Name="SUBEID" Type="Int32" />
    <Property Name="POSGURUBU" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <Property Name="SGBARKOD" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
    <NavigationProperty Name="STOK" Relationship="BAHAModel.FK_STOK_STOKgrup" FromRole="STOKGRUP" ToRole="STOK" />
  </EntityType>
  <Association Name="FK_OZELLIK_STOK">
    <End Type="BAHAModel.STOK" Role="STOK" Multiplicity="0..1" />
    <End Type="BAHAModel.OZELLIK" Role="OZELLIK" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="STOK">
        <PropertyRef Name="STOKID" />
      </Principal>
      <Dependent Role="OZELLIK">
        <PropertyRef Name="STOKID" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <Association Name="FK_STOK_STOKgrup">
    <End Type="BAHAModel.STOKGRUP" Role="STOKGRUP" Multiplicity="0..1" />
    <End Type="BAHAModel.STOK" Role="STOK" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="STOKGRUP">
        <PropertyRef Name="KODU" />
      </Principal>
      <Dependent Role="STOK">
        <PropertyRef Name="GRUP" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <ComplexType Name="MPos_HesapGoster_Result">
    <Property Type="Int32" Name="FISCOUNTER" Nullable="false" />
    <Property Type="DateTime" Name="TARIH" Nullable="true" Precision="23" />
    <Property Type="Int32" Name="FISNO" Nullable="true" />
    <Property Type="String" Name="MASANO" Nullable="true" MaxLength="50" />
    <Property Type="Double" Name="TOPLAM" Nullable="true" />
    <Property Type="DateTime" Name="ASAATI" Nullable="true" Precision="23" />
    <Property Type="Int32" Name="URUNID" Nullable="true" />
    <Property Type="String" Name="URUNADI" Nullable="true" MaxLength="100" />
    <Property Type="Double" Name="ADET" Nullable="true" />
    <Property Type="Double" Name="BIRIMFIYAT" Nullable="true" />
    <Property Type="String" Name="ACIKLAMA" Nullable="true" MaxLength="100" />
  </ComplexType>
</Schema>