27 lines
621 B
C#
27 lines
621 B
C#
namespace ApiCarburant;
|
|
|
|
public class StationSansPrix
|
|
{
|
|
public string Id { get; set; }
|
|
public double Latitude { get; set; }
|
|
public double Longitude { get; set; }
|
|
|
|
public string Ville { get; set; }
|
|
public string Adresse { get; set; }
|
|
|
|
public decimal? E85 { get; set; }
|
|
public decimal? E5 { get; set; }
|
|
public decimal? E10 { get; set; }
|
|
public decimal? SP98 { get; set; }
|
|
public decimal? Gazole { get; set; }
|
|
}
|
|
public class Station : StationSansPrix
|
|
{
|
|
|
|
public List<Prix> Prix { get; set; } = new();
|
|
|
|
public StationSansPrix WithoutListPrix()
|
|
{
|
|
return this;
|
|
}
|
|
} |