From c6cbe991b3edab579f4a420660260bcd488f4411 Mon Sep 17 00:00:00 2001 From: zivillian Date: Tue, 6 Aug 2024 20:07:53 +0200 Subject: [PATCH] update to new data structure fixes #20 --- libgwmapi/DTO/Vehicle/Vehicle.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libgwmapi/DTO/Vehicle/Vehicle.cs b/libgwmapi/DTO/Vehicle/Vehicle.cs index 568dad6..a7a94c0 100644 --- a/libgwmapi/DTO/Vehicle/Vehicle.cs +++ b/libgwmapi/DTO/Vehicle/Vehicle.cs @@ -182,10 +182,10 @@ public class Vehicle public string StyleName { get; set; } [JsonPropertyName("tServiceEndDate")] - public int TServiceEndDate { get; set; } + public long TServiceEndDate { get; set; } [JsonPropertyName("tServiceStartDate")] - public int TServiceStartDate { get; set; } + public long TServiceStartDate { get; set; } [JsonPropertyName("tServiceStatus")] public string TServiceStatus { get; set; } @@ -206,7 +206,7 @@ public class Vehicle public string VTypeName { get; set; } [JsonPropertyName("vehicleId")] - public int VehicleId { get; set; } + public string VehicleId { get; set; } [JsonPropertyName("vehicleNick")] public object VehicleNick { get; set; }