using EVCB_OCPP.Packet.Messages.SubTypes; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; namespace EVCB_OCPP.WSServer.Dto { public class ErrorDetails { public string ChargeBoxId { set; get; } public int ConnectorId { set; get; } [JsonConverter(typeof(StringEnumConverter))] public ChargePointErrorCode ErrorCode { set; get; } public string Info { set; get; } public string VendorId { set; get; } public string VendorErrorCode { set; get; } public DateTime OCcuredOn { set; get; } } }