ConnectorMeterValueRecord.cs 973 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace EVCB_OCPP.Domain.Models.Database
  9. {
  10. [Table("ConnectorMeterValueRecord")]
  11. public class ConnectorMeterValueRecord
  12. {
  13. [Key]
  14. public Int64 Id { set; get; }
  15. [StringLength(25)]
  16. public string ChargePointSerialNumber { get; set; }
  17. public byte ConnectorId { set; get; }
  18. public int ContextId { set; get; }
  19. public int FormatId { set; get; }
  20. public int MeasurandId{ set; get; }
  21. public int PhaseId { set; get; }
  22. public int LocationId { set; get; }
  23. [StringLength(10)]
  24. public string Value { set; get; }
  25. public int UnitId { set; get; }
  26. public DateTime CreatedOn { set; get; }
  27. }
  28. }