using System;
namespace Dfs.WayneChina.PosModelMini
{
public class ClientRingUpPosItem
{
///
/// Gets or sets the id which mapping to database PosItem model's primary key column.
///
public Guid PosItemUniqueId { get; set; }
///
/// Gets or sets the id which mapping to database PosItem model's ItemId column.
///
//public string ItemId { get; set; }
public decimal Qty { get; set; }
///
/// Time stamp when the ring-up happens.
///
public DateTime ClientRingUpTime { get; set; }
#region used only for fuel items.
public int? FuelItemSoldOnPumpId { get; set; }
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; }
public int? FuelItemClientSideItemId { get; set; }
public decimal? FuelItemClientSidePrice { get; set; }
public string FuelItemFdcTransactionSeqNo { get; set; }
public int? FuelItemFdcReleaseTokenAttribute { get; set; }
public decimal? FuelItemPumpTotalizerMoney { get; set; }
public decimal? FuelItemPumpTotalizerVolume { get; set; }
#endregion
///
/// client may void(or un-void) a line in trx, for either case, this property will be set with
/// value for which item line should operating on.
///
public int? VoidOperationForWhichLineNum { get; set; }
///
/// Pos can commenting on Trx.
///
public string TransactionComment { get; set; }
public DateTime? fuelItemTransactionEndTime { get; set; }
}
}