using Core.DomainObjects;

namespace WeatherForecast.Models {

  /// <summary>
  /// 
  /// </summary>
  public class FeatureModel {

    /// <summary>
    /// 
    /// </summary>
    public string Icon { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string Title { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string Text { get; set; }

    /// <summary>
    /// 
    /// </summary>
    /// <param name="feature"></param>
    public FeatureModel(Feature feature) {
      Icon = feature.Icon;
      Title = feature.Title;
      Text = feature.Text;
    }
  }
}