using System; namespace Dfs.WayneChina.PosModelMini { public class PosTrxLineItem { /// /// Unique id the current POS Trx line item. /// public Guid Id { get; set; } /// /// the index of Ringup sequence. /// public int LineNum { get; set; } /// /// Unique id of the POS item. /// public Guid PosItemId { get; set; } /// /// PosTrxItem link to a PosItem. /// public virtual PosItem Item { get; set; } /// /// Quantity /// public decimal Qty { get; set; } /// /// Whether the current line item is voided (excluded from current trx) or not. /// public bool Voided { get; set; } public Guid PosTrxId { get; set; } /// /// Belong to which PosTrx /// public virtual PosTrx PosTrx { get; set; } /// /// Gross amount. /// public decimal GrossAmount { get; set; } /// /// Indicates which pump the fuel item is sold. /// public int? FuelItemSoldOnPumpId { get; set; } /// /// Indicates which nozzle the fuel item is sold. /// public int? FuelItemSoldOnPumpNozzleId { get; set; } /// /// the amount which caculated by local FC, typically Fuel item's amount should not re-cacualted in server again(by Qty*Price, may cause rounding issue), /// just trust the value from local. /// public decimal? FuelItemOriginalGrossAmount { get; set; } /// /// used for query, lock, unlock fuel trx from fdc server, only for fuel sale. /// public string FuelItemFdcTransactionSeqNo { get; set; } /// /// used for query, lock, unlock fuel trx from fdc server, only for fuel sale. /// public int? FuelItemFdcReleaseTokenAttribute { get; set; } //public virtual List AppliedInPosTrxDiscounts { get; set; } /// /// Can be used to link any information, like attendant ID, etc. /// public string FuelItemTag { get; set; } /// /// Amount accumulation of the pump. /// public decimal? FuelItemPumpTotalizerMoney { get; set; } /// /// Volume accumulation of the pump. /// public decimal? FuelItemPumpTotalizerVolume { get; set; } /// /// Url to the QR code to get the electronic invoice. /// public string EInvoiceQrUrl { get; set; } } }