19 lines
385 B
C#
19 lines
385 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace NordPool.Models;
|
|
|
|
public class CheapestIntervalResult
|
|
{
|
|
[JsonPropertyName("start")]
|
|
public DateTime Start { get; set; }
|
|
|
|
[JsonPropertyName("end")]
|
|
public DateTime End { get; set; }
|
|
|
|
[JsonPropertyName("price")]
|
|
public double Price { get; set; }
|
|
|
|
[JsonPropertyName("rank")]
|
|
public int Rank { get; set; }
|
|
}
|