namespace DuSoft.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; }
}
