using System.Text.Json.Serialization; namespace Pcm.Db.Entities; public class Kontrahent { public Kontrahent() { CentrStanZgodies = new HashSet(); DokDodKths = new HashSet(); DokKontrs = new HashSet(); DostProdDosts = new HashSet(); DostProdProds = new HashSet(); Dostawcas = new HashSet(); KontoBankoweKontrs = new HashSet(); KontoLojs = new HashSet(); KontrOpis = new HashSet(); KthTypOs = new HashSet(); KthWartoscs = new HashSet(); NrRejs = new HashSet(); OdbProdOdbs = new HashSet(); OdbProdProds = new HashSet(); Odbiorcas = new HashSet(); OfSlowniks = new HashSet(); Oferta = new HashSet(); Osobas = new HashSet(); PcfUserPcfCustomers = new HashSet(); PcfUserPcfLoyaltyCustomers = new HashSet(); PcfUserPcfPstations = new HashSet(); Phodbiorcas = new HashSet(); Phs = new HashSet(); SklepKontrSkleps = new HashSet(); SklepKontrs = new HashSet(); SklepNarzDosts = new HashSet(); StanZgodies = new HashSet(); Towars = new HashSet(); ZdarzOs = new HashSet(); } public decimal KontrId { get; set; } public decimal? AkwId { get; set; } public string Nazwa { get; set; } public string NaPrzelewie1 { get; set; } public string NaPrzelewie2 { get; set; } public string Skrot { get; set; } public string Ulica { get; set; } public string Kod { get; set; } public string Miasto { get; set; } public string Telefon { get; set; } public string Fax { get; set; } public string Email { get; set; } public string Bank { get; set; } public string Konto { get; set; } public string Nip { get; set; } 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; } public short KartaAktywna { get; set; } public DateTime TermWaznKarty { get; set; } public short PoziomRabatu { get; set; } public string NrAnalityki { get; set; } public string KodKontr { get; set; } public short ZakPracChron { get; set; } public short Aktywny { get; set; } public string Rezerwa1 { get; set; } public string Rezerwa2 { get; set; } 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; } [JsonIgnore] public virtual Akwizytor Akw { get; set; } [JsonIgnore] public virtual Kraj KontrKraj { get; set; } [JsonIgnore] public virtual Sklep Sklep { get; set; } [JsonIgnore] public virtual ICollection CentrStanZgodies { get; set; } [JsonIgnore] public virtual ICollection DokDodKths { get; set; } [JsonIgnore] public virtual ICollection DokKontrs { get; set; } [JsonIgnore] public virtual ICollection DostProdDosts { get; set; } [JsonIgnore] public virtual ICollection DostProdProds { get; set; } [JsonIgnore] public virtual ICollection Dostawcas { get; set; } [JsonIgnore] public virtual ICollection KontoBankoweKontrs { get; set; } [JsonIgnore] public virtual ICollection KontoLojs { get; set; } [JsonIgnore] public virtual ICollection KontrOpis { get; set; } [JsonIgnore] public virtual ICollection KthTypOs { get; set; } [JsonIgnore] public virtual ICollection KthWartoscs { get; set; } [JsonIgnore] public virtual ICollection NrRejs { get; set; } [JsonIgnore] public virtual ICollection OdbProdOdbs { get; set; } [JsonIgnore] public virtual ICollection OdbProdProds { get; set; } [JsonIgnore] public virtual ICollection Odbiorcas { get; set; } [JsonIgnore] public virtual ICollection OfSlowniks { get; set; } [JsonIgnore] public virtual ICollection Oferta { get; set; } [JsonIgnore] public virtual ICollection Osobas { get; set; } [JsonIgnore] public virtual ICollection PcfUserPcfCustomers { get; set; } [JsonIgnore] public virtual ICollection PcfUserPcfLoyaltyCustomers { get; set; } [JsonIgnore] public virtual ICollection PcfUserPcfPstations { get; set; } [JsonIgnore] public virtual ICollection Phodbiorcas { get; set; } [JsonIgnore] public virtual ICollection Phs { get; set; } [JsonIgnore] public virtual ICollection SklepKontrSkleps { get; set; } [JsonIgnore] public virtual ICollection SklepKontrs { get; set; } [JsonIgnore] public virtual ICollection SklepNarzDosts { get; set; } [JsonIgnore] public virtual ICollection StanZgodies { get; set; } [JsonIgnore] public virtual ICollection Towars { get; set; } [JsonIgnore] public virtual ICollection ZdarzOs { get; set; } }