|
@@ -1,4 +1,5 @@
|
|
|
using Newtonsoft.Json;
|
|
|
+using Newtonsoft.Json.Converters;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
@@ -18,6 +19,7 @@ namespace EVCB_OCPP.WEBAPI.Models.WebAPI.Dto
|
|
|
|
|
|
public List<Connector> Connectors { set; get; }
|
|
|
|
|
|
+ [JsonConverter(typeof(StringEnumConverter))]
|
|
|
public Status Status { set; get; }
|
|
|
|
|
|
public GeoLocation Coordinates { set; get; }
|