using System;
using System.Collections.Generic;

// Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled.
// If you have enabled NRTs for your project, then un-comment the following line:
// #nullable disable

namespace MS.WebApi.Models
{
    public partial class PosTrxLineItems
    {
        public PosTrxLineItems()
        {
            PosTrxPromotions = new HashSet<PosTrxPromotions>();
        }

        public Guid Id { get; set; }
        public int LineNum { get; set; }
        public Guid PosItemId { get; set; }
        public decimal Qty { get; set; }
        public bool Voided { get; set; }
        public Guid PosTrxId { get; set; }
        public decimal NetAmount { get; set; }
        public int? FuelItemSoldOnPumpId { get; set; }
        public int? FuelItemSoldOnPumpNozzleId { get; set; }
        public decimal? FuelItemOriginalGrossAmount { get; set; }
        public string FuelItemFdcTransactionSeqNo { get; set; }
        public int? FuelItemFdcReleaseTokenAttribute { get; set; }
        public string FuelItemTag { get; set; }
        public decimal? FuelItemPumpTotalizerMoney { get; set; }
        public decimal? FuelItemPumpTotalizerVolume { get; set; }
        public DateTime? FuelItemTransactionEndTime { get; set; }
        public decimal GrossAmount { get; set; }
        public decimal? ItemPrice { get; set; }
        public DateTime CreatedDateTime { get; set; }
        public DateTime? DeletedDateTime { get; set; }
        public bool IsDeleted { get; set; }
        public DateTime ModifiedDateTime { get; set; }
        public Guid? TargetBusinessUnitId { get; set; }

        public virtual PosItems PosItem { get; set; }
        public virtual PosTrxes PosTrx { get; set; }
        public virtual ICollection<PosTrxPromotions> PosTrxPromotions { get; set; }
    }
}
