OfflineTransactionInfo.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace Dfs.WayneChina.SpsDataCourier.Models
  6. {
  7. public class OfflineTransactionInfo
  8. {
  9. [JsonProperty("billFlag")]
  10. public byte BillFlag { get; set; }
  11. [JsonProperty("billNo")]
  12. public int BillNo { get; set; }
  13. [JsonProperty("billType")]
  14. public byte BillType { get; set; }
  15. [JsonProperty("carID")]
  16. public string CarId { get; set; }
  17. [JsonProperty("carLicsNo")]
  18. public string CarLicsNo { get; set; }
  19. [JsonProperty("cardBal")]
  20. public int CardBal { get; set; }
  21. [JsonProperty("cardNo")]
  22. public string CardNo { get; set; }
  23. [JsonProperty("operCardNo")]
  24. public string OperCardNo { get; set; }
  25. [JsonProperty("cardType")]
  26. public byte CardType { get; set; }
  27. //Fuel product number.
  28. [JsonProperty("commID")]
  29. public string CommId { get; set; }
  30. //Required for Smart Fuel 1.0
  31. [JsonProperty("barcode")]
  32. public string Barcode { get; set; }
  33. //Required for Smart Fuel 1.0
  34. [JsonProperty("fuelName")]
  35. public string FuelName { get; set; }
  36. [JsonProperty("ctc")]
  37. public int CTC { get; set; }
  38. [JsonProperty("discountNo")]
  39. public int DiscountNo { get; set; }
  40. [JsonProperty("dwloadFlag")]
  41. public byte DwloadFlag { get; set; }
  42. [JsonProperty("empno")]
  43. public string EmpNo { get; set; }
  44. [JsonProperty("endPump")]
  45. public long EndPump { get; set; }
  46. [JsonProperty("gid")]
  47. public long Gid { get; set; }
  48. [JsonProperty("gmac")]
  49. public long GMac { get; set; }
  50. [JsonProperty("integral")]
  51. public int Integral { get; set; }
  52. [JsonProperty("lineNo")]
  53. public string LineNo { get; set; }
  54. [JsonProperty("mileage")]
  55. public int Mileage { get; set; }
  56. [JsonProperty("mon")]
  57. public int Mon { get; set; }
  58. [JsonProperty("nozNo")]
  59. public byte NozNo { get; set; }
  60. [JsonProperty("operator")]
  61. public string Operator { get; set; }
  62. [JsonProperty("payTermID")]
  63. public int PayTermId { get; set; }
  64. [JsonProperty("paymodeID")]
  65. public byte PayModeId { get; set; }
  66. [JsonProperty("paymodeNo")]
  67. public string PayModeNo { get; set; }
  68. [JsonProperty("posid")]
  69. public short PosId { get; set; }
  70. //Unit price
  71. [JsonProperty("prc")]
  72. public int Prc { get; set; }
  73. [JsonProperty("psamasn")]
  74. public string PsamAsn { get; set; }
  75. [JsonProperty("psamtac")]
  76. public long PsamTac { get; set; }
  77. [JsonProperty("psamtid")]
  78. public string PsamTid { get; set; }
  79. [JsonProperty("psamttc")]
  80. public int PsamTTC { get; set; }
  81. [JsonProperty("pumpNo")]
  82. public byte PumpNo { get; set; }
  83. //0=Petrol/Diesel pumps, 1=CNG/LNG/LPG pumps
  84. [JsonProperty("pumpType")]
  85. public byte PumpType { get; set; }
  86. //Payment or deduction amount.
  87. [JsonProperty("realMON")]
  88. public int RealMon { get; set; }
  89. [JsonProperty("seqNo")]
  90. public int SeqNo { get; set; }
  91. [JsonProperty("shiftNo")]
  92. public int ShiftNo { get; set; }
  93. [JsonProperty("sno")]
  94. public short SNo { get; set; }
  95. [JsonProperty("tac")]
  96. public long Tac { get; set; }
  97. [JsonProperty("tmac")]
  98. public long TMac { get; set; }
  99. [JsonProperty("trdType")]
  100. public byte TrdType { get; set; }
  101. [JsonProperty("ttc")]
  102. public int TTC { get; set; }
  103. //Fueling transaction start time, format 'yyyy-MM-dd HH:mm:ss'
  104. [JsonProperty("ttctime")]
  105. public string TTCTime { get; set; }
  106. //Fueling transaction finished time, format 'yyyy-MM-dd HH:mm:ss'
  107. [JsonProperty("ttctimeEnd")]
  108. public string TTCTimeEnd { get; set; }
  109. [JsonProperty("uploadFlag")]
  110. public byte UploadFlag { get; set; }
  111. [JsonProperty("vol")]
  112. public int Vol { get; set; }
  113. }
  114. }