Files
StopShopping/StopShopping.Api/WeatherForecast.cs
2026-02-14 00:44:01 +08:00

13 lines
253 B
C#

namespace StopShopping.Api;
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; }
}