sharee.bike-App/SharedBusinessLogic/Repository/Response/Position.cs
2024-04-09 12:53:23 +02:00

19 lines
542 B
C#

using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace ShareeBike.Repository.Response
{
/// <summary> Holds position info. </summary>
[DataContract]
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
public class Position
{
/// <summary> Latitude position (bike, station, map center...). </summary>
[DataMember]
public string latitude { get; private set; }
/// <summary> Longitude position (bike, station, map center...). </summary>
[DataMember]
public string longitude { get; private set; }
}
}