namespace Blink.Backoffice.Services.PcmDb.Entities;

public partial class PcpReceipt
{
    public decimal PcpReceiptId { get; set; }

    public decimal? KontrId { get; set; }

    public string? CustomerCode { get; set; }

    public string? CustomerNip { get; set; }

    public int PcpPosId { get; set; }

    public string? PosCode { get; set; }

    public short? ShopNo { get; set; }

    public short? PosNo { get; set; }

    public string? TransUUID { get; set; }

    public string? FiscalUniqueNo { get; set; }

    public string ReceiptSysNo { get; set; } = null!;

    public int? PrinterNumber { get; set; }

    public string? DocNo { get; set; }

    public string? Cashier { get; set; }

    public DateTime OperationDateTime { get; set; }

    public decimal TotalBrutto { get; set; }

    public decimal? TotalNetto { get; set; }

    public decimal? TotalDiscount { get; set; }

    public DateTime Created { get; set; }

    public DateTime Updated { get; set; }

    public virtual Kontrahent? Kontr { get; set; }

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

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

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

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