TransactionDataRecord.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. [StringLength(50)]
  22. public string ChargeBoxId { get; set; }
  23. public int ContextId { set; get; }
  24. public int FormatId { set; get; }
  25. public int MeasurandId { set; get; }
  26. public int PhaseId { set; get; }
  27. public int LocationId { set; get; }
  28. [StringLength(10)]
  29. public string Value { set; get; }
  30. public int UnitId { set; get; }
  31. public DateTime MeasuredOn { set; get; }
  32. }
  33. }