summaryrefslogtreecommitdiff
path: root/backend/Elements.Backend/WeatherForecast.cs
blob: 7c8962efe2b485dc26b3da240eff00ebb8b7dfa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
namespace Elements.Backend;

public class WeatherForecast
{
    public DateOnly Date { get; set; }

    public int TemperatureC { get; set; }

    public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);

    public string? Summary { get; set; }
}