PIbd-22_Isaeva_A.I._FishFac.../FishFactoryRestApi/WeatherForecast.cs
2024-04-17 11:28:47 +04:00

14 lines
285 B
C#

namespace FishFactoryRestApi
{
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; }
}
}