DbModels.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace SinochemInternetPlusApp
  7. {
  8. public class EpsTransactionModel
  9. {
  10. public int id { get; set; }
  11. public int jihao { get; set; }
  12. public string youpin { get; set; }
  13. public double qty { get; set; }
  14. public double danjia { get; set; }
  15. public double amount { get; set; }
  16. public DateTime xf_date { get; set; }
  17. public string xf_time { get; set; }
  18. public string liushuino { get; set; }
  19. public string fzqty { get; set; }
  20. public double fzamount { get; set; }
  21. public EpsTrxStatus trx_status { get; set; }
  22. public EpsTransactionMode mop { get; set; } // 1 - carplate; 2 - iccard
  23. public string payMethod { get; set; } // "01" - oilCard, "07" - weixin "07_pos" -- weixin QRCode
  24. public string car_number { get; set; }
  25. public string card_no { get; set; }
  26. public CardType cardType { get; set; } //1 - OilCard, 8--WeiXin
  27. public string ttc { get; set; }
  28. public string token { get; set; }
  29. public string tid { get; set; }
  30. public string mac { get; set; }
  31. public double balance_before_trx { get; set; }
  32. public double real_pay_amount { get; set; }
  33. public string auth_time { get; set; }
  34. public string bill_id { get; set; }
  35. public DateTime created_time { get; set; }
  36. public string shift_id { get; set; }
  37. public string business_date { get; set; }
  38. public NotifyPosFlag notify_pos { get; set; }
  39. public string cardNo_masked { get; set; }
  40. public int nozzleSelected { get; set; }
  41. public string openId { get; set; }
  42. #region These fields are Not in DB
  43. public string EnryptedPIN { get; set; }
  44. public string pay_url { get; set; }
  45. public string invoiceUrl { get; set; }
  46. public Dictionary<int, string> AvailableNozzleGrade { get; set; }
  47. #endregion
  48. }
  49. public class Xiaofei2Model
  50. {
  51. public string plate_number { get; set; }
  52. public int jihao { get; set; }
  53. public string youpin { get; set; }
  54. public double qty { get; set; }
  55. public double danjia { get; set; }
  56. public double amount { get; set; }
  57. public DateTime xf_date { get; set; }
  58. public string xf_time { get; set; }
  59. public string liushuino { get; set; }
  60. public string fzqty { get; set; }
  61. public double fzamount { get; set; }
  62. }
  63. public class JyInfoModel
  64. {
  65. public int jihao { get; set; }
  66. public string status { get; set; }
  67. public string youpin { get; set; }
  68. public double qty { get; set; }
  69. public double amount { get; set; }
  70. public string fzqty { get; set; }
  71. public double fzamount { get; set; }
  72. }
  73. }