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