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 { get; set; } = new List(); public virtual ICollection DokDodKth { get; set; } = new List(); public virtual ICollection DokKontr { get; set; } = new List(); public virtual ICollection DostProdDost { get; set; } = new List(); public virtual ICollection DostProdProd { get; set; } = new List(); public virtual ICollection DostawcaNavigation { get; set; } = new List(); public virtual ICollection KontoBankoweKontr { get; set; } = new List(); public virtual ICollection KontoLoj { get; set; } = new List(); public virtual Kraj? KontrKraj { get; set; } public virtual ICollection KontrOpis { get; set; } = new List(); public virtual ICollection NrRej { get; set; } = new List(); public virtual ICollection OdbProdOdb { get; set; } = new List(); public virtual ICollection OdbProdProd { get; set; } = new List(); public virtual ICollection OdbiorcaNavigation { get; set; } = new List(); public virtual ICollection OfSlownik { get; set; } = new List(); public virtual ICollection Oferta { get; set; } = new List(); public virtual ICollection OsobaNavigation { get; set; } = new List(); public virtual ICollection PH { get; set; } = new List(); public virtual ICollection PHOdbiorca { get; set; } = new List(); public virtual ICollection PcfUserPcfCustomer { get; set; } = new List(); public virtual ICollection PcfUserPcfLoyaltyCustomer { get; set; } = new List(); public virtual ICollection PcfUserPcfPStation { get; set; } = new List(); public virtual ICollection PcpReceipt { get; set; } = new List(); public virtual Sklep? Sklep { get; set; } public virtual ICollection SklepKontr { get; set; } = new List(); public virtual ICollection SklepKontrSklep { get; set; } = new List(); public virtual ICollection StanZgody { get; set; } = new List(); public virtual ICollection Towar { get; set; } = new List(); public virtual ICollection ZdarzOs { get; set; } = new List(); public virtual ICollection KPW { get; set; } = new List(); public virtual ICollection SklepFlagi { get; set; } = new List(); public virtual ICollection TypOs { get; set; } = new List(); }