PIbd-21_Danilov_V.V._Course.../VeterinaryClinic/VeterinaryClinicRestApi/WeatherForecast.cs

14 lines
290 B
C#
Raw Normal View History

2024-05-01 03:06:53 +04:00
namespace VeterinaryClinicRestApi
{
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; }
}
}