using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Dfs.WayneChina.SpsDataCourier.Models { public class OfflineTransactionInfo { [JsonProperty("billFlag")] public byte BillFlag { get; set; } [JsonProperty("billNo")] public int BillNo { get; set; } [JsonProperty("billType")] public byte BillType { get; set; } [JsonProperty("carID")] public string CarId { get; set; } [JsonProperty("carLicsNo")] public string CarLicsNo { get; set; } [JsonProperty("cardBal")] public int CardBal { get; set; } [JsonProperty("cardNo")] public string CardNo { get; set; } [JsonProperty("operCardNo")] public string OperCardNo { get; set; } [JsonProperty("cardType")] public byte CardType { get; set; } //Fuel product number. [JsonProperty("commID")] public string CommId { get; set; } //Required for Smart Fuel 1.0 [JsonProperty("barcode")] public string Barcode { get; set; } //Required for Smart Fuel 1.0 [JsonProperty("fuelName")] public string FuelName { get; set; } [JsonProperty("ctc")] public int CTC { get; set; } [JsonProperty("discountNo")] public int DiscountNo { get; set; } [JsonProperty("dwloadFlag")] public byte DwloadFlag { get; set; } [JsonProperty("empno")] public string EmpNo { get; set; } [JsonProperty("endPump")] public long EndPump { get; set; } [JsonProperty("gid")] public long Gid { get; set; } [JsonProperty("gmac")] public long GMac { get; set; } [JsonProperty("integral")] public int Integral { get; set; } [JsonProperty("lineNo")] public string LineNo { get; set; } [JsonProperty("mileage")] public int Mileage { get; set; } [JsonProperty("mon")] public int Mon { get; set; } [JsonProperty("nozNo")] public byte NozNo { get; set; } [JsonProperty("operator")] public string Operator { get; set; } [JsonProperty("payTermID")] public int PayTermId { get; set; } [JsonProperty("paymodeID")] public byte PayModeId { get; set; } [JsonProperty("paymodeNo")] public string PayModeNo { get; set; } [JsonProperty("posid")] public short PosId { get; set; } //Unit price [JsonProperty("prc")] public int Prc { get; set; } [JsonProperty("psamasn")] public string PsamAsn { get; set; } [JsonProperty("psamtac")] public long PsamTac { get; set; } [JsonProperty("psamtid")] public string PsamTid { get; set; } [JsonProperty("psamttc")] public int PsamTTC { get; set; } [JsonProperty("pumpNo")] public byte PumpNo { get; set; } //0=Petrol/Diesel pumps, 1=CNG/LNG/LPG pumps [JsonProperty("pumpType")] public byte PumpType { get; set; } //Payment or deduction amount. [JsonProperty("realMON")] public int RealMon { get; set; } [JsonProperty("seqNo")] public int SeqNo { get; set; } [JsonProperty("shiftNo")] public int ShiftNo { get; set; } [JsonProperty("sno")] public short SNo { get; set; } [JsonProperty("tac")] public long Tac { get; set; } [JsonProperty("tmac")] public long TMac { get; set; } [JsonProperty("trdType")] public byte TrdType { get; set; } [JsonProperty("ttc")] public int TTC { get; set; } //Fueling transaction start time, format 'yyyy-MM-dd HH:mm:ss' [JsonProperty("ttctime")] public string TTCTime { get; set; } //Fueling transaction finished time, format 'yyyy-MM-dd HH:mm:ss' [JsonProperty("ttctimeEnd")] public string TTCTimeEnd { get; set; } [JsonProperty("uploadFlag")] public byte UploadFlag { get; set; } [JsonProperty("vol")] public int Vol { get; set; } } }