using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Dfs.WayneChina.SpsDataCourier.Models { public class GrayInfo { [JsonProperty("gid")] public ulong Gid { get; set; } [JsonProperty("sNo")] public int SNo { get; set; } [JsonProperty("pumpType")] public byte PumpType { get; set; } [JsonProperty("cardNo")] public string CardNo { get; set; } [JsonProperty("paymodeId")] public byte PaymodeId { get; set; } [JsonProperty("trdType")] public byte TrdType { get; set; } /// /// Commodity ID, actually fuel grade /// [JsonProperty("commID")] public string CommId { get; set; } /// /// Unit price /// [JsonProperty("prc")] public uint Price { get; set; } [JsonProperty("vol")] public uint Volume { get; set; } [JsonProperty("mon")] public uint Money { get; set; } [JsonProperty("realMON")] public uint RealMon { get; set; } [JsonProperty("cardBal")] public uint CardBalance { get; set; } [JsonProperty("ctc")] public uint Ctc { get; set; } [JsonProperty("ttctime")] public string TtcTime { get; set; } [JsonProperty("ttctimeEnd")] public string TtcTimeEnd { get; set; } [JsonProperty("ttc")] public uint Ttc { get; set; } [JsonProperty("seqNo")] public ushort SeqNo { get; set; } [JsonProperty("nozNo")] public byte NozNo { get; set; } [JsonProperty("pumpNo")] public byte PumpNo { get; set; } [JsonProperty("payTemId")] public ulong PayTermId { get; set; } [JsonProperty("endPump")] public ulong EndPumpId { get; set; } [JsonProperty("discountNo")] public uint DiscountNo { get; set; } [JsonProperty("psamasn")] public string PsamAsn { get; set; } [JsonProperty("psamtac")] public uint PsamTac { get; set; } [JsonProperty("psamtid")] public string PsamTid { get; set; } [JsonProperty("psamttc")] public uint PsamTtc { get; set; } [JsonProperty("tac")] public uint Tac { get; set; } [JsonProperty("gmac")] public uint Gmac { get; set; } [JsonProperty("tmac")] public uint Tmac { get; set; } [JsonProperty("uploadFlag")] public byte UploadFlag { get; set; } [JsonProperty("operationType")] public byte OperationType { get; set; } } }