Card.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Dfs.WayneChina.SpsDataCourier.Guard
  5. {
  6. public class Card
  7. {
  8. public ulong Id { get; set; }
  9. /// <summary>
  10. /// Original global record id.
  11. /// </summary>
  12. public ulong Gid { get; set; }
  13. public byte CardSNo { get; set; }
  14. public ushort SNo { get; set; }
  15. public ulong CardId { get; set; }
  16. public string CardNo { get; set; }
  17. public ushort CTC { get; set; }
  18. public string CTCTime { get; set; }
  19. public ulong AccountGid { get; set; }
  20. public string AccountId { get; set; }
  21. public string UserNo { get; set; }
  22. public string Holder { get; set; }
  23. public string PhoneNo { get; set; }
  24. public uint DMaxPay { get; set; }
  25. public uint MMaxPay { get; set; }
  26. public uint YMaxPay { get; set; }
  27. public uint OnceMaxPay { get; set; }
  28. public byte LimitCar { get; set; }
  29. public string CarNo { get; set; }
  30. public byte Status { get; set; }
  31. public string UserPin { get; set; }
  32. public DateTime OverDate { get; set; }
  33. public DateTime KcDate { get; set; }
  34. public string OperatorNo { get; set; }
  35. public byte LimitGood { get; set; }
  36. public string LimitOil { get; set; }
  37. public byte CardType { get; set; }
  38. public string AuthStr { get; set; }
  39. public string TempCheckStr { get; set; }
  40. public ushort DiscountNo { get; set; }
  41. public DateTime StartDate { get; set; }
  42. public uint PreMalloc { get; set; }
  43. /// <summary>
  44. /// field `money`
  45. /// </summary>
  46. public uint Balance { get; set; }
  47. /// <summary>
  48. /// might be negative value
  49. /// </summary>
  50. public long RechargeTotal { get; set; }
  51. public uint IntegralTotal { get; set; }
  52. public byte CardClass { get; set; }
  53. public uint TMac { get; set; }
  54. public byte LimitTimes { get; set; }
  55. public byte UploadFlag { get; set; }
  56. public uint CTCFlag { get; set; }
  57. public byte EnableSms { get; set; }
  58. #region Custom Fields
  59. public long VersionNo { get; set; }
  60. public DateTime LastUpdate { get; set; } = DateTime.Now;
  61. public byte CommitFlag { get; set; }
  62. public byte SyncFlag { get; set; }
  63. #endregion
  64. }
  65. }