18 lines
459 B
C#
18 lines
459 B
C#
namespace HackathonPreparing.ApiService.Features.WeatherForecastFeature;
|
|
|
|
public class WeatherForecast
|
|
{
|
|
public WeatherForecast(int id, DateOnly date, int temperatureC, string summary)
|
|
{
|
|
Id = id;
|
|
Date = date;
|
|
TemperatureC = temperatureC;
|
|
Summary = summary;
|
|
}
|
|
|
|
|
|
public int Id { get; set; }
|
|
public DateOnly Date { get; set; }
|
|
public int TemperatureC { get; set; }
|
|
public string Summary { get; set; }
|
|
} |