namespace DuSoft.PcmDb.Entities;

public partial class RegulaDok
{
    public decimal DokId { get; set; }

    public decimal RegulaId { get; set; }

    public int Kolejnosc { get; set; }

    public decimal? Wartosc { get; set; }

    public string? Tekst { get; set; }

    public short? TypReguly { get; set; }

    public short? Opcja { get; set; }

    public decimal? KontoId { get; set; }

    public short? Opcja2 { get; set; }

    public decimal? Wartosc2 { get; set; }

    public decimal? Wartosc3 { get; set; }

    public virtual Dok Dok { get; set; } = null!;

    public virtual KontoLoj? Konto { get; set; }

    public virtual Regula Regula { get; set; } = null!;

    public virtual ICollection<RegulaDokSzczeg> RegulaDokSzczeg { get; set; } = new List<RegulaDokSzczeg>();
}
