sharee.bike-App/SharedBusinessLogic/Repository/Response/Position.cs

20 lines
542 B
C#
Raw Permalink Normal View History

2024-04-09 12:53:23 +02:00
using System.Runtime.Serialization;
using Newtonsoft.Json;
2022-01-22 18:16:10 +01:00
2024-04-09 12:53:23 +02:00
namespace ShareeBike.Repository.Response
2022-01-22 18:16:10 +01:00
{
2022-09-06 16:08:19 +02:00
/// <summary> Holds position info. </summary>
[DataContract]
2024-04-09 12:53:23 +02:00
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
2022-09-06 16:08:19 +02:00
public class Position
{
/// <summary> Latitude position (bike, station, map center...). </summary>
[DataMember]
public string latitude { get; private set; }
2022-01-22 18:16:10 +01:00
2022-09-06 16:08:19 +02:00
/// <summary> Longitude position (bike, station, map center...). </summary>
[DataMember]
public string longitude { get; private set; }
}
2022-01-22 18:16:10 +01:00
}