diff options
author | HombreLaser <sebastian-440@live.com> | 2022-11-12 21:20:00 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2022-11-12 21:25:10 -0600 |
commit | 46965f637d3b329038a7ef84fbefac3cad92f465 (patch) | |
tree | dff667eee9cc212ab106559bd7cdbfa069fd459a /WeatherForecast.cs | |
parent | 8efbe4b57c42cddc48ea0cca413fc3f443184b64 (diff) |
Commit inicial
Diffstat (limited to 'WeatherForecast.cs')
-rw-r--r-- | WeatherForecast.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/WeatherForecast.cs b/WeatherForecast.cs new file mode 100644 index 0000000..6d48c9a --- /dev/null +++ b/WeatherForecast.cs @@ -0,0 +1,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; } +} |