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

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; }
}