TransactionDataRecord.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace EVCB_OCPP.Domain.Models.Database
  8. {
  9. public class TransactionDataRecord
  10. {
  11. [Key]
  12. public Int64 Id { set; get; }
  13. public byte ConnectorId { get; set; }
  14. /// <summary>
  15. /// TransactionId
  16. /// </summary>
  17. public int TransactionId { get; set; }
  18. /// <summary>
  19. /// chargePointSerialNumber
  20. /// </summary>
  21. public string ChargePointSerialNumber { get; set; }
  22. public int ContextId { set; get; }
  23. public int FormatId { set; get; }
  24. public int MeasurandId { set; get; }
  25. public int PhaseId { set; get; }
  26. public int LocationId { set; get; }
  27. [StringLength(10)]
  28. public string Value { set; get; }
  29. public int UnitId { set; get; }
  30. public DateTime MeasuredOn { set; get; }
  31. }
  32. }