using Core.DomainObjects;

namespace WeatherForecast.Models {

  /// <summary>
  /// 
  /// </summary>
  public class FormItemModel {

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

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

    /// <summary>
    /// 
    /// </summary>
    /// <param name="formItem"></param>
    public FormItemModel(FormItem formItem) {
      Title = formItem.Title;
      PlaceHolder = formItem.PlaceHolder;
    }
  }
}
