This commit is contained in:
2024-05-16 10:37:44 +02:00
commit 64b26d6823
678 changed files with 154503 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Akwizytor
{
public decimal AkwId { get; set; }
public string Nazwisko { get; set; } = null!;
public string Opis { get; set; } = null!;
public decimal Prowizja { get; set; }
public virtual ICollection<Kontrahent> Kontrahent { get; set; } = new List<Kontrahent>();
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Artykul
{
public decimal ArtId { get; set; }
public string ArtNazwa { get; set; } = null!;
public decimal? CentrArtId { get; set; }
public decimal? GlownyTowId { get; set; }
public virtual Towar? GlownyTow { get; set; }
public virtual ICollection<Towar> Towar { get; set; } = new List<Towar>();
}

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Asort
{
public decimal AsId { get; set; }
public string Nazwa { get; set; } = null!;
public decimal Marza { get; set; }
public short OpcjaMarzy { get; set; }
public decimal HurtRabat { get; set; }
public short OpcjaRabatu { get; set; }
public decimal NocNarzut { get; set; }
public short OpcjaNarzutu { get; set; }
public decimal? CentrAsId { get; set; }
public short? UkrytyNaPanelach { get; set; }
public short? UkrytyNaBonowniku { get; set; }
public short? BezAutoEtykiet { get; set; }
public decimal? Param1 { get; set; }
public short? Autoryzacja { get; set; }
public virtual ICollection<Marzownik> Marzownik { get; set; } = new List<Marzownik>();
public virtual ICollection<RegulaAsort> RegulaAsort { get; set; } = new List<RegulaAsort>();
public virtual ICollection<Towar> Towar { get; set; } = new List<Towar>();
public virtual ICollection<Kasa> Kasa { get; set; } = new List<Kasa>();
public virtual ICollection<Sklep> Sklep { get; set; } = new List<Sklep>();
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Bank
{
public decimal BankId { get; set; }
public string Nazwa { get; set; } = null!;
public string Adres { get; set; } = null!;
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public decimal? CentrBankId { get; set; }
public string? NrRozliBank { get; set; }
public string? SWIFT { get; set; }
public virtual ICollection<KontoBankowe> KontoBankowe { get; set; } = new List<KontoBankowe>();
public virtual ICollection<KontoBankoweKontr> KontoBankoweKontr { get; set; } = new List<KontoBankoweKontr>();
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Blokada
{
public decimal SesjaId { get; set; }
public decimal TowId { get; set; }
public decimal MagId { get; set; }
public decimal Ilosc { get; set; }
public virtual Istw Istw { get; set; } = null!;
public virtual SesjaAktywna Sesja { get; set; } = null!;
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class CentrStanZgody
{
public decimal KontrId { get; set; }
public decimal ZgId { get; set; }
public short Status { get; set; }
public string Kiedy { get; set; } = null!;
public string? Wersja { get; set; }
public short? FormaDec { get; set; }
public DateTime? DataDec { get; set; }
public virtual Kontrahent Kontr { get; set; } = null!;
public virtual Zgoda Zg { get; set; } = null!;
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Czas
{
public decimal CzasID { get; set; }
public decimal? DzienTygodnia { get; set; }
public decimal? DzienMiesiaca { get; set; }
public decimal? Dzien { get; set; }
public decimal? TydzienRoku { get; set; }
public decimal? Tydzien { get; set; }
public decimal? MiesiacRoku { get; set; }
public decimal? Miesiac { get; set; }
public decimal? Weekend { get; set; }
public decimal? Rok { get; set; }
public DateTime? Data { get; set; }
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DefinicjaKodu
{
public decimal DKId { get; set; }
public short Typ { get; set; }
public string Nazwa { get; set; } = null!;
public DateTime? DataOd { get; set; }
public DateTime? DataDo { get; set; }
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public decimal? CentrDKId { get; set; }
public virtual ICollection<SkladnikDefinicjiKodu> SkladnikDefinicjiKodu { get; set; } = new List<SkladnikDefinicjiKodu>();
}

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DlugiZasob
{
public decimal ZasobId { get; set; }
public string Zastosowanie { get; set; } = null!;
public string Opcje { get; set; } = null!;
public string Nazwa { get; set; } = null!;
public string Sciezka { get; set; } = null!;
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public string TypDanych { get; set; } = null!;
public string? Skrot1 { get; set; }
public string? Skrot2 { get; set; }
public string? Skrot3 { get; set; }
public string? Skrot4 { get; set; }
public string Wersja { get; set; } = null!;
public decimal? CentrZasobId { get; set; }
public string? CentrWersja { get; set; }
public string? GUID { get; set; }
public virtual ICollection<DlugiZasobBin> DlugiZasobBin { get; set; } = new List<DlugiZasobBin>();
public virtual ICollection<DlugiZasobTxt> DlugiZasobTxt { get; set; } = new List<DlugiZasobTxt>();
public virtual ICollection<SklepDlugiZasob> SklepDlugiZasob { get; set; } = new List<SklepDlugiZasob>();
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DlugiZasobBin
{
public decimal ZasobId { get; set; }
public short Porcja { get; set; }
public byte[] Dane { get; set; } = null!;
public virtual DlugiZasob Zasob { get; set; } = null!;
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DlugiZasobTxt
{
public decimal ZasobId { get; set; }
public short Porcja { get; set; }
public string Dane { get; set; } = null!;
public virtual DlugiZasob Zasob { get; set; } = null!;
}

View File

@@ -0,0 +1,189 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Dok
{
public decimal DokId { get; set; }
public decimal UzId { get; set; }
public decimal MagId { get; set; }
public DateTime Data { get; set; }
public int KolejnyWDniu { get; set; }
public DateTime DataDod { get; set; }
public DateTime DataPom { get; set; }
public string NrDok { get; set; } = null!;
public short TypDok { get; set; }
public short Aktywny { get; set; }
public short Opcja1 { get; set; }
public short Opcja2 { get; set; }
public short Opcja3 { get; set; }
public short Opcja4 { get; set; }
public short CenyZakBrutto { get; set; }
public short CenySpBrutto { get; set; }
public short FormaPlat { get; set; }
public short TerminPlat { get; set; }
public short PoziomCen { get; set; }
public decimal RabatProc { get; set; }
public decimal Netto { get; set; }
public decimal Podatek { get; set; }
public decimal NettoUslugi { get; set; }
public decimal PodatekUslugi { get; set; }
public decimal NettoDet { get; set; }
public decimal PodatekDet { get; set; }
public decimal NettoDetUslugi { get; set; }
public decimal PodatekDetUslugi { get; set; }
public decimal NettoMag { get; set; }
public decimal PodatekMag { get; set; }
public decimal NettoMagUslugi { get; set; }
public decimal PodatekMagUslugi { get; set; }
public decimal Razem { get; set; }
public decimal DoZaplaty { get; set; }
public decimal Zaplacono { get; set; }
public decimal Kwota1 { get; set; }
public decimal Kwota2 { get; set; }
public decimal Kwota3 { get; set; }
public decimal Kwota4 { get; set; }
public decimal Kwota5 { get; set; }
public decimal Kwota6 { get; set; }
public decimal Kwota7 { get; set; }
public decimal Kwota8 { get; set; }
public decimal Kwota9 { get; set; }
public decimal Kwota10 { get; set; }
public int Param1 { get; set; }
public int Param2 { get; set; }
public int Param3 { get; set; }
public int Param4 { get; set; }
public short EksportFK { get; set; }
public DateTime Zmiana { get; set; }
public int? NrKolejny { get; set; }
public int? NrKolejnyMag { get; set; }
public int? Param5 { get; set; }
public int? Param6 { get; set; }
public decimal? Kwota11 { get; set; }
public decimal? Kwota12 { get; set; }
public decimal? WalId { get; set; }
public decimal? Kurs { get; set; }
public decimal? CentrDokId { get; set; }
public short? Opcja5 { get; set; }
public short? Opcja6 { get; set; }
public short? Opcja7 { get; set; }
public short? Opcja8 { get; set; }
public DateTime? ZmianaPkt { get; set; }
public decimal? ZaplaconoPodatek { get; set; }
public decimal? ZaplaconoWKasie { get; set; }
public decimal? WalIdPlatnosci { get; set; }
public virtual ICollection<DokDodKth> DokDodKth { get; set; } = new List<DokDodKth>();
public virtual DokKasa? DokKasa { get; set; }
public virtual DokKontr? DokKontr { get; set; }
public virtual ICollection<DokKurs> DokKurs { get; set; } = new List<DokKurs>();
public virtual ICollection<DokPunkty> DokPunkty { get; set; } = new List<DokPunkty>();
public virtual ICollection<DokWBufPowiazanie> DokWBufPowiazanie { get; set; } = new List<DokWBufPowiazanie>();
public virtual ICollection<DokWaluta> DokWaluta { get; set; } = new List<DokWaluta>();
public virtual Magazyn Mag { get; set; } = null!;
public virtual ICollection<PHRozliczenie> PHRozliczenie { get; set; } = new List<PHRozliczenie>();
public virtual ICollection<PozDok> PozDok { get; set; } = new List<PozDok>();
public virtual ICollection<RegulaDok> RegulaDok { get; set; } = new List<RegulaDok>();
public virtual ICollection<RozbicieDodDok> RozbicieDodDok { get; set; } = new List<RozbicieDodDok>();
public virtual ICollection<RozbicieDok> RozbicieDok { get; set; } = new List<RozbicieDok>();
public virtual ICollection<Rozlicza> RozliczaDok { get; set; } = new List<Rozlicza>();
public virtual ICollection<Rozlicza> RozliczaRozliczanyDok { get; set; } = new List<Rozlicza>();
public virtual ICollection<SklepDok> SklepDok { get; set; } = new List<SklepDok>();
public virtual ICollection<TekstDok> TekstDok { get; set; } = new List<TekstDok>();
public virtual Uzytkownik Uz { get; set; } = null!;
public virtual Waluta? Wal { get; set; }
public virtual Waluta? WalIdPlatnosciNavigation { get; set; }
public virtual Zaleznosc? ZaleznoscDok { get; set; }
public virtual ICollection<Zaleznosc> ZaleznoscPoprzedniDok { get; set; } = new List<Zaleznosc>();
public virtual ICollection<KontoBankowe> KB { get; set; } = new List<KontoBankowe>();
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DokDodKth
{
public decimal DokId { get; set; }
public short Znaczenie { get; set; }
public decimal KontrId { get; set; }
public decimal? Kwota { get; set; }
public virtual Dok Dok { get; set; } = null!;
public virtual Kontrahent Kontr { get; set; } = null!;
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DokKasa
{
public decimal DokId { get; set; }
public decimal KasaId { get; set; }
public virtual Dok Dok { get; set; } = null!;
public virtual Kasa Kasa { get; set; } = null!;
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DokKontr
{
public decimal DokId { get; set; }
public decimal KontrId { get; set; }
public virtual Dok Dok { get; set; } = null!;
public virtual Kontrahent Kontr { get; set; } = null!;
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DokKurs
{
public decimal DokId { get; set; }
public short Znaczenie { get; set; }
public decimal WalId { get; set; }
public decimal? Kurs { get; set; }
public DateTime? Data { get; set; }
public string? NrTabeli { get; set; }
public virtual Dok Dok { get; set; } = null!;
public virtual Waluta Wal { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DokPunkty
{
public decimal DokId { get; set; }
public short Typ { get; set; }
public DateTime Kiedy { get; set; }
public decimal Kwota { get; set; }
public virtual Dok Dok { get; set; } = null!;
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DokWBufPowiazanie
{
public decimal DokId { get; set; }
public short JakiePow { get; set; }
public short KtorePow { get; set; }
public decimal? Id { get; set; }
public string? Param { get; set; }
public virtual Dok Dok { get; set; } = null!;
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DokWaluta
{
public decimal DokId { get; set; }
public decimal WalId { get; set; }
public decimal WalKwota { get; set; }
public decimal Kurs { get; set; }
public decimal DokKwota { get; set; }
public decimal? WalNetto { get; set; }
public decimal? WalPodatek { get; set; }
public decimal? WalNettoDet { get; set; }
public decimal? WalPodatekDet { get; set; }
public virtual Dok Dok { get; set; } = null!;
public virtual Waluta Wal { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DostProd
{
public decimal DostId { get; set; }
public decimal ProdId { get; set; }
public decimal RabatProd { get; set; }
public virtual Kontrahent Dost { get; set; } = null!;
public virtual Kontrahent Prod { get; set; } = null!;
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Dostawca
{
public decimal KontrId { get; set; }
public decimal TowId { get; set; }
public decimal CenaZak { get; set; }
public decimal RabatOdWart { get; set; }
public short? Narzucany { get; set; }
public string? Kod { get; set; }
public decimal? IleWZgrzewce { get; set; }
public virtual Kontrahent Kontr { get; set; } = null!;
public virtual Towar Tow { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DzienRozl
{
public DateTime Dzien { get; set; }
public short Status { get; set; }
public DateTime Zmiana { get; set; }
public virtual ICollection<DzienRozlParam> DzienRozlParam { get; set; } = new List<DzienRozlParam>();
public virtual ICollection<StanPrtMag> StanPrtMag { get; set; } = new List<StanPrtMag>();
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class DzienRozlParam
{
public DateTime Dzien { get; set; }
public short Znaczenie { get; set; }
public string Wartosc { get; set; } = null!;
public virtual DzienRozl DzienNavigation { get; set; } = null!;
}

View File

@@ -0,0 +1,55 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Email
{
public decimal EmId { get; set; }
public decimal? UzId { get; set; }
public decimal? TEDId { get; set; }
public decimal? TERId { get; set; }
public decimal? TEWId { get; set; }
public string Nazwa { get; set; } = null!;
public string Login { get; set; } = null!;
public string Haslo { get; set; } = null!;
public string Host { get; set; } = null!;
public string Port { get; set; } = null!;
public short Auth { get; set; }
public short TLS { get; set; }
public short TLSVer { get; set; }
public string Nadawca { get; set; } = null!;
public short Kopia { get; set; }
public string? KopiaEmail { get; set; }
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public decimal? TEZIId { get; set; }
public decimal? TEHRId { get; set; }
public virtual TrescEmail? TED { get; set; }
public virtual TrescEmail? TER { get; set; }
public virtual TrescEmail? TEW { get; set; }
public virtual Uzytkownik? Uz { get; set; }
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class FormZgod
{
public decimal TypOsId { get; set; }
public decimal ZgId { get; set; }
public short Kolejnosc { get; set; }
public short? Wymagana { get; set; }
public virtual TypOs TypOs { get; set; } = null!;
public virtual Zgoda Zg { get; set; } = null!;
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class FormaPlatnPos7
{
public decimal FormaId { get; set; }
public string Nazwa { get; set; } = null!;
public short Typ { get; set; }
public short Reszta { get; set; }
public short? Autoryzacja { get; set; }
public string? SerwisPlatniczy { get; set; }
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public decimal? CentrFormaId { get; set; }
public decimal? Kolejnosc { get; set; }
public virtual ICollection<KasaFormaPlatn> KasaFormaPlatn { get; set; } = new List<KasaFormaPlatn>();
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class FormaPlatnosci
{
public short FormaPlat { get; set; }
public string Tekst { get; set; } = null!;
public short MinTermPlat { get; set; }
public short MaxTermPlat { get; set; }
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class GrWartosc
{
public decimal GrId { get; set; }
public decimal ParId { get; set; }
public int Wartosc { get; set; }
public virtual GrupaTow Gr { get; set; } = null!;
public virtual Parametr Par { get; set; } = null!;
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class GrupaAkcyzowa
{
public decimal GrAkcId { get; set; }
public string Kod { get; set; } = null!;
public string Nazwa { get; set; } = null!;
public string AkcJM { get; set; } = null!;
public string OpcjeWzoru { get; set; } = null!;
public string? PrefiksyCN { get; set; }
public string? Opis { get; set; }
public decimal? CentrGrAkcId { get; set; }
public DateTime Zmiana { get; set; }
public string? DodJM { get; set; }
public decimal? IleDodJMWAkcJM { get; set; }
public virtual ICollection<PozAkcyza> PozAkcyza { get; set; } = new List<PozAkcyza>();
public virtual ICollection<TabelaAkcyzowa> TabelaAkcyzowa { get; set; } = new List<TabelaAkcyzowa>();
public virtual ICollection<TowAkcyza> TowAkcyza { get; set; } = new List<TowAkcyza>();
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class GrupaPromocji
{
public decimal GrupaId { get; set; }
public short Typ { get; set; }
public string Nazwa { get; set; } = null!;
public string Opis { get; set; } = null!;
public short Aktywna { get; set; }
public decimal? CentrGrupaId { get; set; }
public DateTime Zmiana { get; set; }
public virtual ICollection<PowiazanieProm> PowiazanieProm { get; set; } = new List<PowiazanieProm>();
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class GrupaTow
{
public decimal GrId { get; set; }
public string Nazwa { get; set; } = null!;
public string Opis { get; set; } = null!;
public virtual ICollection<GrWartosc> GrWartosc { get; set; } = new List<GrWartosc>();
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class GrupaUz
{
public decimal UzId { get; set; }
public decimal RolaId { get; set; }
public virtual Uzytkownik Rola { get; set; } = null!;
public virtual Uzytkownik Uz { get; set; } = null!;
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class HarmCeny
{
public decimal HarmId { get; set; }
public decimal TowId { get; set; }
public decimal? CenaDet { get; set; }
public decimal? CenaHurt { get; set; }
public decimal? CenaDod { get; set; }
public decimal? CenaNoc { get; set; }
public decimal? Cena5 { get; set; }
public decimal? Cena6 { get; set; }
public decimal? ProgPromocji { get; set; }
public short? CenaOtwarta { get; set; }
public string? Inne { get; set; }
public short? Stawka { get; set; }
public decimal? Cena7 { get; set; }
public decimal? Cena8 { get; set; }
public virtual HarmWpis Harm { get; set; } = null!;
public virtual Towar Tow { get; set; } = null!;
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class HarmCykl
{
public decimal HarmId { get; set; }
public short OdDnia { get; set; }
public short OdGodz { get; set; }
public short OdMin { get; set; }
public short? DoDnia { get; set; }
public short? DoGodz { get; set; }
public short? DoMin { get; set; }
public virtual HarmWpis Harm { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class HarmHarm
{
public decimal HarmId { get; set; }
public short Znaczenie { get; set; }
public decimal PoprzHarmId { get; set; }
public virtual HarmWpis Harm { get; set; } = null!;
public virtual HarmWpis PoprzHarm { get; set; } = null!;
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class HarmRap
{
public decimal HRId { get; set; }
public string Nazwa { get; set; } = null!;
public DateTime DataOd { get; set; }
public DateTime? DataDo { get; set; }
public short Typ { get; set; }
public short RodzajCyklicznosci { get; set; }
public short? RodzajEksportu { get; set; }
public short? WysylajEmail { get; set; }
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public virtual ICollection<HarmRapCykl> HarmRapCykl { get; set; } = new List<HarmRapCykl>();
public virtual ICollection<HarmRapParam> HarmRapParam { get; set; } = new List<HarmRapParam>();
public virtual ICollection<HarmRapZlecenie> HarmRapZlecenie { get; set; } = new List<HarmRapZlecenie>();
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class HarmRapCykl
{
public decimal HRId { get; set; }
public short Dzien { get; set; }
public short Godzina { get; set; }
public short Minuta { get; set; }
public virtual HarmRap HR { get; set; } = null!;
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class HarmRapParam
{
public decimal HRId { get; set; }
public string ParNazwa { get; set; } = null!;
public string ParWartosc { get; set; } = null!;
public virtual HarmRap HR { get; set; } = null!;
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class HarmRapZlecenie
{
public decimal HRId { get; set; }
public DateTime DataCzas { get; set; }
public short Status { get; set; }
public string? Komentarz { get; set; }
public DateTime Zmiana { get; set; }
public virtual HarmRap HR { get; set; } = null!;
}

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class HarmWpis
{
public decimal HarmId { get; set; }
public short HarmTyp { get; set; }
public string Nazwa { get; set; } = null!;
public string Opcje { get; set; } = null!;
public short Aktywny { get; set; }
public short Uwzgledniony { get; set; }
public DateTime Zmiana { get; set; }
public decimal? PolId { get; set; }
public decimal? CentrHarmId { get; set; }
public DateTime? WaznyOd { get; set; }
public DateTime? WaznyDo { get; set; }
public decimal? KrajId { get; set; }
public short? CenyBrutto { get; set; }
public virtual ICollection<HarmCeny> HarmCeny { get; set; } = new List<HarmCeny>();
public virtual ICollection<HarmCykl> HarmCykl { get; set; } = new List<HarmCykl>();
public virtual ICollection<HarmHarm> HarmHarmHarm { get; set; } = new List<HarmHarm>();
public virtual ICollection<HarmHarm> HarmHarmPoprzHarm { get; set; } = new List<HarmHarm>();
public virtual Kraj? Kraj { get; set; }
public virtual Polityka? Pol { get; set; }
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Istw
{
public decimal TowId { get; set; }
public decimal MagId { get; set; }
public decimal StanMag { get; set; }
public decimal BlokadaMag { get; set; }
public decimal CenaMag { get; set; }
public decimal StanMin { get; set; }
public decimal StanMax { get; set; }
public decimal? RezerwacjaMag { get; set; }
public virtual ICollection<Blokada> Blokada { get; set; } = new List<Blokada>();
public virtual Magazyn Mag { get; set; } = null!;
public virtual Towar Tow { get; set; } = null!;
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class JM
{
public decimal JMId { get; set; }
public string Nazwa { get; set; } = null!;
public short Precyzja { get; set; }
public decimal? CentrJMId { get; set; }
public virtual ICollection<KodWazony> KodWazony { get; set; } = new List<KodWazony>();
public virtual ICollection<Towar> Towar { get; set; } = new List<Towar>();
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KartaLoj
{
public decimal KartaId { get; set; }
public decimal KontoId { get; set; }
public short TypKarty { get; set; }
public string? KodKarty { get; set; }
public DateTime? WaznaOd { get; set; }
public DateTime? WaznaDo { get; set; }
public DateTime? Uniewazniono { get; set; }
public string? Posiadacz { get; set; }
public string? Opis1 { get; set; }
public string? Opis2 { get; set; }
public decimal? CentrKartaId { get; set; }
public virtual KontoLoj Konto { get; set; } = null!;
public virtual ICollection<ZdarzLoj> ZdarzLoj { get; set; } = new List<ZdarzLoj>();
public virtual ICollection<NrRej> NrRej { get; set; } = new List<NrRej>();
}

View File

@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KasKod
{
public decimal KasaId { get; set; }
public decimal TowId { get; set; }
public short Kolejnosc { get; set; }
public string Kod { get; set; } = null!;
public short Status { get; set; }
public short ZmianyCen { get; set; }
public short ZmianyInne { get; set; }
public short BylyZmianyCen { get; set; }
public short BylyZmianyInne { get; set; }
public int? KasPrefPLU { get; set; }
public int? PLU { get; set; }
public short? DodIndeks { get; set; }
public short? Stawka { get; set; }
public short? TypTowaru { get; set; }
public decimal? IleWKodzie { get; set; }
public short? PoziomCen { get; set; }
public string? Skrot { get; set; }
public string? KodOpak { get; set; }
public int? PLUOpak { get; set; }
public string? Rezerwa { get; set; }
public virtual Kasa Kasa { get; set; } = null!;
public virtual Towar Tow { get; set; } = null!;
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KasPar
{
public decimal KasaId { get; set; }
public string ParNazwa { get; set; } = null!;
public string ParWartosc { get; set; } = null!;
public virtual Kasa Kasa { get; set; } = null!;
}

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KasTow
{
public decimal KasaId { get; set; }
public string KodWyslany { get; set; } = null!;
public decimal TowId { get; set; }
public short TypTowaru { get; set; }
public short Dodatkowy { get; set; }
public int Plu { get; set; }
public short DodIndeks { get; set; }
public short ZmianyCen { get; set; }
public short ZmianyInne { get; set; }
public short FlagaExp { get; set; }
public virtual Kasa Kasa { get; set; } = null!;
public virtual Towar Tow { get; set; } = null!;
}

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Kasa
{
public decimal KasaId { get; set; }
public decimal MagId { get; set; }
public short Numer { get; set; }
public string Nazwa { get; set; } = null!;
public short Rodzaj { get; set; }
public string Typ { get; set; } = null!;
public short Aktywny { get; set; }
public string Stanowisko { get; set; } = null!;
public string? NrUnikatowy { get; set; }
public virtual ICollection<DokKasa> DokKasa { get; set; } = new List<DokKasa>();
public virtual ICollection<KasKod> KasKod { get; set; } = new List<KasKod>();
public virtual ICollection<KasPar> KasPar { get; set; } = new List<KasPar>();
public virtual ICollection<KasTow> KasTow { get; set; } = new List<KasTow>();
public virtual ICollection<KasaFormaPlatn> KasaFormaPlatn { get; set; } = new List<KasaFormaPlatn>();
public virtual Magazyn Mag { get; set; } = null!;
public virtual ICollection<Paragon> Paragon { get; set; } = new List<Paragon>();
public virtual ICollection<ProfilKasa> ProfilKasa { get; set; } = new List<ProfilKasa>();
public virtual ICollection<Zlecenie> Zlecenie { get; set; } = new List<Zlecenie>();
public virtual ICollection<Asort> As { get; set; } = new List<Asort>();
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KasaFormaPlatn
{
public decimal FormaId { get; set; }
public decimal KasaId { get; set; }
public short Aktywny { get; set; }
public virtual FormaPlatnPos7 Forma { get; set; } = null!;
public virtual Kasa Kasa { get; set; } = null!;
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KatParam
{
public decimal KatId { get; set; }
public decimal ParId { get; set; }
public short Kolejnosc { get; set; }
public int WartDom { get; set; }
public virtual Kategoria Kat { get; set; } = null!;
public virtual Parametr Par { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Kategoria
{
public decimal KatId { get; set; }
public string Nazwa { get; set; } = null!;
public decimal? CentrKatId { get; set; }
public virtual ICollection<KatParam> KatParam { get; set; } = new List<KatParam>();
public virtual ICollection<Towar> Towar { get; set; } = new List<Towar>();
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KodDod
{
public decimal TowId { get; set; }
public short Kolejnosc { get; set; }
public string Skrot { get; set; } = null!;
public string Kod { get; set; } = null!;
public short PoziomCen { get; set; }
public int PrefPLU { get; set; }
public decimal? IleWKodzie { get; set; }
public short? TypKodu { get; set; }
public string? SubsysKoduDod { get; set; }
public short? KodCentralny { get; set; }
public virtual Towar Tow { get; set; } = null!;
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KodWazony
{
public decimal KWId { get; set; }
public short Prefix { get; set; }
public string Nazwa { get; set; } = null!;
public short CzescStala { get; set; }
public short WartoscWKodzie { get; set; }
public short DodKontrola { get; set; }
public short PrecyzjaWKodzie { get; set; }
public decimal? CentrKWId { get; set; }
public decimal? JMId { get; set; }
public virtual JM? JM { get; set; }
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Komentarz
{
public decimal ZmId { get; set; }
public string Opis { get; set; } = null!;
public virtual Zmiana Zm { get; set; } = null!;
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Konfig
{
public string ParGrupa { get; set; } = null!;
public string ParNazwa { get; set; } = null!;
public string ParWartosc { get; set; } = null!;
}

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KontoBankowe
{
public decimal KBId { get; set; }
public string Nazwa { get; set; } = null!;
public string Numer { get; set; } = null!;
public short Domyslne { get; set; }
public short Typ { get; set; }
public string Sufix { get; set; } = null!;
public decimal BankId { get; set; }
public decimal WalId { get; set; }
public decimal? PowKBId { get; set; }
public decimal? MagId { get; set; }
public short Aktywne { get; set; }
public DateTime Zmiana { get; set; }
public decimal? CentrKBId { get; set; }
public decimal? KBIdOplat { get; set; }
public virtual Bank Bank { get; set; } = null!;
public virtual Magazyn? Mag { get; set; }
public virtual ICollection<Oplata> Oplata { get; set; } = new List<Oplata>();
public virtual Waluta Wal { get; set; } = null!;
public virtual ICollection<Dok> Dok { get; set; } = new List<Dok>();
}

View File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KontoBankoweKontr
{
public decimal KBKId { get; set; }
public string Numer { get; set; } = null!;
public decimal KontrId { get; set; }
public string Nazwa { get; set; } = null!;
public short Typ { get; set; }
public short Domyslne { get; set; }
public short Aktywne { get; set; }
public short WykazVat { get; set; }
public decimal? PowKBKId { get; set; }
public decimal? BankId { get; set; }
public decimal WalId { get; set; }
public decimal? CentrKBKId { get; set; }
public virtual Bank? Bank { get; set; }
public virtual Kontrahent Kontr { get; set; } = null!;
public virtual Waluta Wal { get; set; } = null!;
}

View File

@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KontoLoj
{
public decimal KontoId { get; set; }
public decimal KontrId { get; set; }
public short TypKonta { get; set; }
public short Aktywne { get; set; }
public string? Nazwa { get; set; }
public decimal StanPocz { get; set; }
public decimal Stan { get; set; }
public DateTime ZmianaStanu { get; set; }
public DateTime Zmiana { get; set; }
public decimal? CentrKontoId { get; set; }
public virtual ICollection<KartaLoj> KartaLoj { get; set; } = new List<KartaLoj>();
public virtual Kontrahent Kontr { get; set; } = null!;
public virtual ICollection<PowKontLoj> PowKontLojNoweKonto { get; set; } = new List<PowKontLoj>();
public virtual ICollection<PowKontLoj> PowKontLojStareKonto { get; set; } = new List<PowKontLoj>();
public virtual ICollection<RegulaDok> RegulaDok { get; set; } = new List<RegulaDok>();
public virtual ICollection<RegulaPar> RegulaPar { get; set; } = new List<RegulaPar>();
public virtual ICollection<SklepKontoLoj> SklepKontoLoj { get; set; } = new List<SklepKontoLoj>();
public virtual ICollection<SklepRegulaDok> SklepRegulaDok { get; set; } = new List<SklepRegulaDok>();
public virtual ICollection<SklepRegulaPar> SklepRegulaPar { get; set; } = new List<SklepRegulaPar>();
public virtual ICollection<ZdarzLoj> ZdarzLoj { get; set; } = new List<ZdarzLoj>();
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KontrOpis
{
public decimal KontrId { get; set; }
public short Znaczenie { get; set; }
public string Tekst { get; set; } = null!;
public virtual Kontrahent Kontr { get; set; } = null!;
}

View File

@@ -0,0 +1,165 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Kontrahent
{
public decimal KontrId { get; set; }
public decimal? AkwId { get; set; }
public string Nazwa { get; set; } = null!;
public string NaPrzelewie1 { get; set; } = null!;
public string NaPrzelewie2 { get; set; } = null!;
public string Skrot { get; set; } = null!;
public string Ulica { get; set; } = null!;
public string Kod { get; set; } = null!;
public string Miasto { get; set; } = null!;
public string Telefon { get; set; } = null!;
public string Fax { get; set; } = null!;
public string EMail { get; set; } = null!;
public string Bank { get; set; } = null!;
public string Konto { get; set; } = null!;
public string NIP { get; set; } = null!;
public short Staly { get; set; }
public short Dostawca { get; set; }
public decimal RabatDost { get; set; }
public short FormaPlatDost { get; set; }
public short TermPlatDost { get; set; }
public short CzasRealZam { get; set; }
public short Producent { get; set; }
public short Odbiorca { get; set; }
public decimal RabatOdb { get; set; }
public short FormaPlatOdb { get; set; }
public short TermPlatOdb { get; set; }
public decimal MaxKredyt { get; set; }
public short MaxPoTermPlat { get; set; }
public string KodKarty { get; set; } = null!;
public short KartaAktywna { get; set; }
public DateTime TermWaznKarty { get; set; }
public short PoziomRabatu { get; set; }
public string NrAnalityki { get; set; } = null!;
public string KodKontr { get; set; } = null!;
public short ZakPracChron { get; set; }
public short Aktywny { get; set; }
public string Rezerwa1 { get; set; } = null!;
public string Rezerwa2 { get; set; } = null!;
public decimal? CentrKontrId { get; set; }
public DateTime Zmiana { get; set; }
public string? IndeksCentr { get; set; }
public decimal? KontrKrajId { get; set; }
public string? Poczta { get; set; }
public string? NrDomu { get; set; }
public string? NrLokalu { get; set; }
public short? Osoba { get; set; }
public virtual Akwizytor? Akw { get; set; }
public virtual ICollection<CentrStanZgody> CentrStanZgody { get; set; } = new List<CentrStanZgody>();
public virtual ICollection<DokDodKth> DokDodKth { get; set; } = new List<DokDodKth>();
public virtual ICollection<DokKontr> DokKontr { get; set; } = new List<DokKontr>();
public virtual ICollection<DostProd> DostProdDost { get; set; } = new List<DostProd>();
public virtual ICollection<DostProd> DostProdProd { get; set; } = new List<DostProd>();
public virtual ICollection<Dostawca> DostawcaNavigation { get; set; } = new List<Dostawca>();
public virtual ICollection<KontoBankoweKontr> KontoBankoweKontr { get; set; } = new List<KontoBankoweKontr>();
public virtual ICollection<KontoLoj> KontoLoj { get; set; } = new List<KontoLoj>();
public virtual Kraj? KontrKraj { get; set; }
public virtual ICollection<KontrOpis> KontrOpis { get; set; } = new List<KontrOpis>();
public virtual ICollection<NrRej> NrRej { get; set; } = new List<NrRej>();
public virtual ICollection<OdbProd> OdbProdOdb { get; set; } = new List<OdbProd>();
public virtual ICollection<OdbProd> OdbProdProd { get; set; } = new List<OdbProd>();
public virtual ICollection<Odbiorca> OdbiorcaNavigation { get; set; } = new List<Odbiorca>();
public virtual ICollection<OfSlownik> OfSlownik { get; set; } = new List<OfSlownik>();
public virtual ICollection<Oferta> Oferta { get; set; } = new List<Oferta>();
public virtual ICollection<Osoba> OsobaNavigation { get; set; } = new List<Osoba>();
public virtual ICollection<PH> PH { get; set; } = new List<PH>();
public virtual ICollection<PHOdbiorca> PHOdbiorca { get; set; } = new List<PHOdbiorca>();
public virtual ICollection<PcfUser> PcfUserPcfCustomer { get; set; } = new List<PcfUser>();
public virtual ICollection<PcfUser> PcfUserPcfLoyaltyCustomer { get; set; } = new List<PcfUser>();
public virtual ICollection<PcfUser> PcfUserPcfPStation { get; set; } = new List<PcfUser>();
public virtual ICollection<PcpReceipt> PcpReceipt { get; set; } = new List<PcpReceipt>();
public virtual Sklep? Sklep { get; set; }
public virtual ICollection<SklepKontr> SklepKontr { get; set; } = new List<SklepKontr>();
public virtual ICollection<SklepKontrSklep> SklepKontrSklep { get; set; } = new List<SklepKontrSklep>();
public virtual ICollection<StanZgody> StanZgody { get; set; } = new List<StanZgody>();
public virtual ICollection<Towar> Towar { get; set; } = new List<Towar>();
public virtual ICollection<ZdarzOs> ZdarzOs { get; set; } = new List<ZdarzOs>();
public virtual ICollection<KthParWartosc> KPW { get; set; } = new List<KthParWartosc>();
public virtual ICollection<SklepFlagi> SklepFlagi { get; set; } = new List<SklepFlagi>();
public virtual ICollection<TypOs> TypOs { get; set; } = new List<TypOs>();
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Kraj
{
public decimal KrajId { get; set; }
public decimal WalId { get; set; }
public string Kod { get; set; } = null!;
public string Nazwa { get; set; } = null!;
public short Aktywny { get; set; }
public string? ZdjecieFlagi { get; set; }
public virtual ICollection<HarmWpis> HarmWpis { get; set; } = new List<HarmWpis>();
public virtual ICollection<Kontrahent> Kontrahent { get; set; } = new List<Kontrahent>();
public virtual ICollection<KrajStawka> KrajStawka { get; set; } = new List<KrajStawka>();
public virtual ICollection<Sklep> Sklep { get; set; } = new List<Sklep>();
public virtual ICollection<TowKraj> TowKraj { get; set; } = new List<TowKraj>();
public virtual ICollection<Towar> Towar { get; set; } = new List<Towar>();
public virtual Waluta Wal { get; set; } = null!;
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KrajStawka
{
public decimal KrajId { get; set; }
public short Stawka { get; set; }
public short? Podstawowa { get; set; }
public virtual Kraj Kraj { get; set; } = null!;
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KthParWartosc
{
public decimal KPWId { get; set; }
public decimal KthParId { get; set; }
public short Kolejnosc { get; set; }
public string Tekst { get; set; } = null!;
public decimal? CentrKPWId { get; set; }
public virtual KthParam KthPar { get; set; } = null!;
public virtual ICollection<KthParam> KthParam { get; set; } = new List<KthParam>();
public virtual ICollection<Kontrahent> Kontr { get; set; } = new List<Kontrahent>();
public virtual ICollection<Sklep> Sklep { get; set; } = new List<Sklep>();
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KthParam
{
public decimal KthParId { get; set; }
public short Kolejnosc { get; set; }
public string Nazwa { get; set; } = null!;
public short Wymagany { get; set; }
public decimal? KPWDomyslnaId { get; set; }
public decimal? CentrKthParId { get; set; }
public virtual KthParWartosc? KPWDomyslna { get; set; }
public virtual ICollection<KthParWartosc> KthParWartosc { get; set; } = new List<KthParWartosc>();
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class KursWaluty
{
public decimal WalId { get; set; }
public DateTime Data { get; set; }
public decimal? KursZr { get; set; }
public decimal? Spread { get; set; }
public decimal? Kurs { get; set; }
public decimal? KursZakZr { get; set; }
public decimal? SpreadZak { get; set; }
public decimal? KursZak { get; set; }
public string? NrTabeli { get; set; }
public string? NrTabeliZak { get; set; }
public virtual Waluta Wal { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class LiniaLotnicza
{
public decimal LiniaId { get; set; }
public string Kod { get; set; } = null!;
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public string? Nazwa { get; set; }
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class LogOperation
{
public decimal OperationId { get; set; }
public decimal PosId { get; set; }
public decimal? OperatorId { get; set; }
public decimal AppTypeId { get; set; }
public decimal ModuleTypeId { get; set; }
public decimal OperationTypeId { get; set; }
public DateTime OperationTime { get; set; }
public string? AdditionalDesc { get; set; }
public string? ModItemId { get; set; }
public decimal? ModTableTypeId { get; set; }
public DateTime? LastUpdate { get; set; }
public virtual ICollection<LogValChangeNum> LogValChangeNum { get; set; } = new List<LogValChangeNum>();
public virtual ICollection<LogValChangeTxt> LogValChangeTxt { get; set; } = new List<LogValChangeTxt>();
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class LogTypeDef
{
public decimal TypeId { get; set; }
public string? TypeCategory { get; set; }
public int Type { get; set; }
public string TypeValue { get; set; } = null!;
public DateTime? LastUpdate { get; set; }
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class LogValChangeNum
{
public decimal ValChangeId { get; set; }
public decimal OperationId { get; set; }
public decimal ValChangeTypeId { get; set; }
public decimal ValueBefore { get; set; }
public decimal ValueAfter { get; set; }
public DateTime? LastUpdate { get; set; }
public virtual LogOperation Operation { get; set; } = null!;
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class LogValChangeTxt
{
public decimal ValChangeId { get; set; }
public decimal OperationId { get; set; }
public decimal ValChangeTypeId { get; set; }
public string ValueBefore { get; set; } = null!;
public string ValueAfter { get; set; } = null!;
public DateTime? LastUpdate { get; set; }
public virtual LogOperation Operation { get; set; } = null!;
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Lotnisko
{
public decimal LotnId { get; set; }
public string Kod { get; set; } = null!;
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public short DutyFree { get; set; }
public string? Nazwa { get; set; }
public string? Kraj { get; set; }
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Magazyn
{
public decimal MagId { get; set; }
public string Nazwa { get; set; } = null!;
public short? Numer { get; set; }
public virtual ICollection<Dok> Dok { get; set; } = new List<Dok>();
public virtual ICollection<Istw> Istw { get; set; } = new List<Istw>();
public virtual ICollection<Kasa> Kasa { get; set; } = new List<Kasa>();
public virtual ICollection<KontoBankowe> KontoBankowe { get; set; } = new List<KontoBankowe>();
public virtual ICollection<Marzownik> Marzownik { get; set; } = new List<Marzownik>();
public virtual ICollection<NumMag> NumMag { get; set; } = new List<NumMag>();
public virtual ICollection<PrtMag> PrtMag { get; set; } = new List<PrtMag>();
public virtual ICollection<RapWartPoczDane> RapWartPoczDane { get; set; } = new List<RapWartPoczDane>();
public virtual ICollection<Sklep> Sklep { get; set; } = new List<Sklep>();
public virtual ICollection<Polityka> Pol { get; set; } = new List<Polityka>();
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class MarZakres
{
public decimal MarId { get; set; }
public decimal OdCeny { get; set; }
public short Zaokraglanie { get; set; }
public string Koncowki { get; set; } = null!;
public virtual Marzownik Mar { get; set; } = null!;
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Marzownik
{
public decimal MarId { get; set; }
public short PoziomCen { get; set; }
public decimal? AsId { get; set; }
public decimal? MagId { get; set; }
public decimal? TowId { get; set; }
public short? ModZnaczenie { get; set; }
public decimal? ModOd100 { get; set; }
public decimal? ModW100 { get; set; }
public short? MinMarzaJest { get; set; }
public decimal? MinMarzaOd100 { get; set; }
public decimal? MinMarzaW100 { get; set; }
public short Zakresy { get; set; }
public virtual Asort? As { get; set; }
public virtual Magazyn? Mag { get; set; }
public virtual ICollection<MarZakres> MarZakres { get; set; } = new List<MarZakres>();
public virtual Towar? Tow { get; set; }
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Miasto
{
public decimal MId { get; set; }
public string Nazwa { get; set; } = null!;
public short Domyslne { get; set; }
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public virtual ICollection<Ulica> Ulica { get; set; } = new List<Ulica>();
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Notatki
{
public decimal TowId { get; set; }
public short Kolejnosc { get; set; }
public string Tekst { get; set; } = null!;
public short KoniecLinii { get; set; }
public virtual Towar Tow { get; set; } = null!;
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class NrRej
{
public decimal KontrId { get; set; }
public string NrFormat { get; set; } = null!;
public string NrWpisany { get; set; } = null!;
public short WyborKart { get; set; }
public virtual Kontrahent Kontr { get; set; } = null!;
public virtual ICollection<KartaLoj> Karta { get; set; } = new List<KartaLoj>();
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class NumDok
{
public short TypNumeru { get; set; }
public int Licznik { get; set; }
public string Format { get; set; } = null!;
public virtual ICollection<NumMag> NumMag { get; set; } = new List<NumMag>();
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class NumMag
{
public short TypNumeru { get; set; }
public decimal MagId { get; set; }
public int Licznik { get; set; }
public string Format { get; set; } = null!;
public virtual Magazyn Mag { get; set; } = null!;
public virtual NumDok TypNumeruNavigation { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class OdbProd
{
public decimal OdbId { get; set; }
public decimal ProdId { get; set; }
public decimal RabatProd { get; set; }
public virtual Kontrahent Odb { get; set; } = null!;
public virtual Kontrahent Prod { get; set; } = null!;
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Odbiorca
{
public decimal KontrId { get; set; }
public decimal TowId { get; set; }
public decimal Zamowil { get; set; }
public decimal? RabatTow { get; set; }
public decimal? StalaCena { get; set; }
public string? Nazwa { get; set; }
public string? Indeks { get; set; }
public short? NaWylacznosc { get; set; }
public virtual Kontrahent Kontr { get; set; } = null!;
public virtual Towar Tow { get; set; } = null!;
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class OfKod
{
public decimal KontrId { get; set; }
public decimal OfId { get; set; }
public short Kolejnosc { get; set; }
public short TypKodu { get; set; }
public string Kod { get; set; } = null!;
public virtual Oferta Oferta { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class OfSlownik
{
public decimal KontrId { get; set; }
public short Typ { get; set; }
public string Opis { get; set; } = null!;
public decimal? Id { get; set; }
public virtual Kontrahent Kontr { get; set; } = null!;
}

View File

@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Oferta
{
public decimal KontrId { get; set; }
public decimal OfId { get; set; }
public decimal? TowId { get; set; }
public decimal? Przelicznik { get; set; }
public string? Nazwa { get; set; }
public string? Skrot { get; set; }
public string? Indeks1 { get; set; }
public string? Indeks2 { get; set; }
public string? Opis1 { get; set; }
public string? Opis2 { get; set; }
public string? Opis3 { get; set; }
public string? Opis4 { get; set; }
public string? CKU { get; set; }
public short? TermWazn { get; set; }
public short? Stawka { get; set; }
public decimal? Cena { get; set; }
public string? Asortyment { get; set; }
public string? Kategoria { get; set; }
public string? JM { get; set; }
public virtual Kontrahent Kontr { get; set; } = null!;
public virtual ICollection<OfKod> OfKod { get; set; } = new List<OfKod>();
public virtual Towar? Tow { get; set; }
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class OpisZdarzLoj
{
public decimal ZdarzLojId { get; set; }
public short Znaczenie { get; set; }
public int Kolejnosc { get; set; }
public int? ParamI1 { get; set; }
public int? ParamI2 { get; set; }
public decimal? ParamN1 { get; set; }
public decimal? ParamN2 { get; set; }
public string? ParamS1 { get; set; }
public virtual ZdarzLoj ZdarzLoj { get; set; } = null!;
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Oplata
{
public decimal OplataId { get; set; }
public string Nazwa { get; set; } = null!;
public short Typ { get; set; }
public short Rodzaj { get; set; }
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public decimal? KBId { get; set; }
public decimal? CentrOplataId { get; set; }
public DateTime? DataOd { get; set; }
public DateTime? DataDo { get; set; }
public decimal? StawkaProc { get; set; }
public decimal? Kwota { get; set; }
public string? Komentarz { get; set; }
public virtual KontoBankowe? KB { get; set; }
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Osoba
{
public decimal KontrId { get; set; }
public string Nazwisko { get; set; } = null!;
public virtual Kontrahent Kontr { get; set; } = null!;
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class PH
{
public decimal PHId { get; set; }
public decimal? KontrId { get; set; }
public string Nazwa { get; set; } = null!;
public short Aktywny { get; set; }
public DateTime Zmiana { get; set; }
public virtual Kontrahent? Kontr { get; set; }
public virtual ICollection<PHDane> PHDane { get; set; } = new List<PHDane>();
public virtual ICollection<PHOdbiorca> PHOdbiorca { get; set; } = new List<PHOdbiorca>();
public virtual ICollection<PHRozliczenie> PHRozliczenie { get; set; } = new List<PHRozliczenie>();
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class PHDane
{
public decimal PHId { get; set; }
public short Znaczenie { get; set; }
public string Tekst { get; set; } = null!;
public virtual PH PH { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class PHOdbDane
{
public decimal PHId { get; set; }
public decimal KontrId { get; set; }
public short Znaczenie { get; set; }
public string Tekst { get; set; } = null!;
public virtual PHOdbiorca PHOdbiorca { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class PHOdbiorca
{
public decimal PHId { get; set; }
public decimal KontrId { get; set; }
public virtual Kontrahent Kontr { get; set; } = null!;
public virtual PH PH { get; set; } = null!;
public virtual ICollection<PHOdbDane> PHOdbDane { get; set; } = new List<PHOdbDane>();
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class PHRozliczenie
{
public decimal DokId { get; set; }
public decimal PHId { get; set; }
public decimal Kwota { get; set; }
public DateTime? Rozliczono { get; set; }
public virtual Dok Dok { get; set; } = null!;
public virtual PH PH { get; set; } = null!;
}

View File

@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Panel
{
public decimal PanelId { get; set; }
public short Aktywny { get; set; }
public short Rodzaj { get; set; }
public decimal? UzId { get; set; }
public decimal? UzNSId { get; set; }
public int? Param1 { get; set; }
public string Nazwa { get; set; } = null!;
public short? T { get; set; }
public short? L { get; set; }
public short? H { get; set; }
public short? W { get; set; }
public DateTime Zmiana { get; set; }
public decimal? CentrPanelId { get; set; }
public short TypAplikacji { get; set; }
public virtual ICollection<PanelParam> PanelParam { get; set; } = new List<PanelParam>();
public virtual ICollection<SklepPanel> SklepPanel { get; set; } = new List<SklepPanel>();
public virtual Uzytkownik? Uz { get; set; }
public virtual UzNaSklep? UzNS { get; set; }
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class PanelParam
{
public decimal PanelId { get; set; }
public string ParNazwa { get; set; } = null!;
public string ParWartosc { get; set; } = null!;
public virtual Panel Panel { get; set; } = null!;
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class ParBon
{
public decimal ParId { get; set; }
public short Kolejnosc { get; set; }
public decimal Kwota { get; set; }
public string Typ { get; set; } = null!;
public string Numer { get; set; } = null!;
public virtual Paragon Par { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class ParPunkty
{
public decimal ParId { get; set; }
public short Typ { get; set; }
public DateTime Kiedy { get; set; }
public decimal Kwota { get; set; }
public virtual Paragon Par { get; set; } = null!;
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class ParWaluta
{
public decimal ParId { get; set; }
public decimal WalId { get; set; }
public decimal WalKwota { get; set; }
public decimal Kurs { get; set; }
public decimal ParKwota { get; set; }
public virtual Paragon Par { get; set; } = null!;
public virtual Waluta Wal { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class ParWartosc
{
public decimal ParId { get; set; }
public int Wartosc { get; set; }
public int KolejnoscListy { get; set; }
public string Tekst { get; set; } = null!;
public virtual Parametr Par { get; set; } = null!;
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class ParWiseBase
{
public decimal ParId { get; set; }
public string KodGrupy { get; set; } = null!;
public string Nazwa { get; set; } = null!;
public string Opcje { get; set; } = null!;
public short? KolWGrupie { get; set; }
public virtual ICollection<SklepTowParWiseBase> SklepTowParWiseBase { get; set; } = new List<SklepTowParWiseBase>();
public virtual ICollection<TowParWiseBase> TowParWiseBase { get; set; } = new List<TowParWiseBase>();
}

View File

@@ -0,0 +1,79 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Paragon
{
public decimal ParId { get; set; }
public decimal KasaId { get; set; }
public DateTime DataCzas { get; set; }
public short TypPar { get; set; }
public DateTime Zmiana { get; set; }
public string Kasjer { get; set; } = null!;
public string CechyPar { get; set; } = null!;
public string KodKarty { get; set; } = null!;
public short Aktywny { get; set; }
public int IloscPoz { get; set; }
public decimal Brutto { get; set; }
public decimal OpakZwr { get; set; }
public decimal OpakWyd { get; set; }
public decimal Rabat { get; set; }
public decimal Gotowka { get; set; }
public decimal Bony { get; set; }
public decimal Czek { get; set; }
public decimal Karta { get; set; }
public decimal InneFPlat { get; set; }
public decimal? Waluty { get; set; }
public decimal? Przelew { get; set; }
public decimal? DodFPlat { get; set; }
public short? EksportFK { get; set; }
public decimal? WalId { get; set; }
public decimal? Kurs { get; set; }
public DateTime? ZmianaPkt { get; set; }
public string? NIP { get; set; }
public string? GrupyGTU { get; set; }
public short? PodmiotPowiazany { get; set; }
public virtual Kasa Kasa { get; set; } = null!;
public virtual ICollection<ParBon> ParBon { get; set; } = new List<ParBon>();
public virtual ICollection<ParPunkty> ParPunkty { get; set; } = new List<ParPunkty>();
public virtual ICollection<ParWaluta> ParWaluta { get; set; } = new List<ParWaluta>();
public virtual ICollection<PozPar> PozPar { get; set; } = new List<PozPar>();
public virtual ICollection<RegulaPar> RegulaPar { get; set; } = new List<RegulaPar>();
public virtual Waluta? Wal { get; set; }
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace Blink.Backoffice.Services.PcmDb.Entities;
public partial class Parametr
{
public decimal ParId { get; set; }
public string Nazwa { get; set; } = null!;
public short TypPar { get; set; }
public int WartMin { get; set; }
public int WartMax { get; set; }
public decimal? CentrParId { get; set; }
public virtual ICollection<GrWartosc> GrWartosc { get; set; } = new List<GrWartosc>();
public virtual ICollection<KatParam> KatParam { get; set; } = new List<KatParam>();
public virtual ICollection<ParWartosc> ParWartosc { get; set; } = new List<ParWartosc>();
public virtual ICollection<TowWartosc> TowWartosc { get; set; } = new List<TowWartosc>();
}

Some files were not shown because too many files have changed in this diff Show More