TransactionRecord.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. using System;
  2. using System.Collections.Generic;
  3. namespace EVCB_OCPP.Domain.Models.MainDb;
  4. public partial class TransactionRecord
  5. {
  6. public TransactionRecord()
  7. {
  8. StartIdTag = string.Empty;
  9. StopIdTag = string.Empty;
  10. StartTime = new DateTime(1991, 1, 1);
  11. StopTime = new DateTime(1991, 1, 1);
  12. ReservationId = -1;
  13. BillingDone = false;
  14. CreatedOn = new DateTime(1991, 1, 1);
  15. UpdatedOn = new DateTime(1991, 1, 1);
  16. StartTransactionReportedOn = new DateTime(1991, 1, 1);
  17. StopTransactionReportedOn = new DateTime(1991, 1, 1);
  18. ErrorMsg = string.Empty;
  19. StartSoc = string.Empty;
  20. StopSoc = string.Empty;
  21. }
  22. public int Id { get; set; }
  23. public Guid CustomerId { get; set; }
  24. public byte ConnectorId { get; set; }
  25. public DateTime StartTime { get; set; }
  26. public DateTime StopTime { get; set; }
  27. public decimal MeterStart { get; set; }
  28. public decimal MeterStop { get; set; }
  29. public DateTime CreatedOn { get; set; }
  30. public DateTime UpdatedOn { get; set; }
  31. public DateTime StartTransactionReportedOn { get; set; }
  32. public int RetryStartTransactionTimes { get; set; }
  33. public DateTime StopTransactionReportedOn { get; set; }
  34. public string ErrorMsg { get; set; }
  35. public string StartIdTag { get; set; }
  36. public string StopIdTag { get; set; }
  37. public int ReservationId { get; set; }
  38. public int StopReasonId { get; set; }
  39. public string ChargeBoxId { get; set; }
  40. public int RetryStopTransactionTimes { get; set; }
  41. public bool UploadedtoTtia { get; set; }
  42. public decimal Cost { get; set; }
  43. public string Fee { get; set; }
  44. public string Receipt { get; set; }
  45. public bool BillingDone { get; set; }
  46. public string StopReason { get; set; }
  47. public string StartSoc { get; set; }
  48. public string StopSoc { get; set; }
  49. }