using Core.Abstractions.Models;

namespace WeatherForecast.Models.Responses {

  /// <summary>
  /// 
  /// </summary>
  public class WeatherForecastResponseModel : ResponseModelBase {

    /// <summary>
    /// 
    /// </summary>
    public DateTime Date { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public int TemperatureC { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);

    /// <summary>
    /// 
    /// </summary>
    public string? Summary { get; set; }
  }
}
