TransactionRecord.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. Evccid = string.Empty;
  22. NotifyPnC = false;
  23. }
  24. public int Id { get; set; }
  25. public DateTime StartTime { get; set; }
  26. public DateTime StopTime { get; set; }
  27. public Guid CustomerId { get; set; }
  28. public byte ConnectorId { get; set; }
  29. public decimal MeterStart { get; set; }
  30. public decimal MeterStop { get; set; }
  31. public DateTime CreatedOn { get; set; }
  32. public DateTime UpdatedOn { get; set; }
  33. public DateTime StartTransactionReportedOn { get; set; }
  34. public int RetryStartTransactionTimes { get; set; }
  35. public DateTime StopTransactionReportedOn { get; set; }
  36. public string ErrorMsg { get; set; }
  37. public string StartIdTag { get; set; }
  38. public string StopIdTag { get; set; }
  39. public int ReservationId { get; set; }
  40. public int StopReasonId { get; set; }
  41. public string ChargeBoxId { get; set; }
  42. public int RetryStopTransactionTimes { get; set; }
  43. public bool UploadedtoTtia { get; set; }
  44. public decimal Cost { get; set; }
  45. public string Fee { get; set; }
  46. public string Receipt { get; set; }
  47. public bool BillingDone { get; set; }
  48. public string StopReason { get; set; }
  49. public string StartSoc { get; set; }
  50. public string StopSoc { get; set; }
  51. public bool NotifyPnC { get; set; }
  52. public string Evccid { get; set; }
  53. }