using DomainObjects.PageSections;
using WeatherForecast.Models.Abstractions;
namespace WeatherForecast.Models.Content.Responses.PageSections {
  /// 
  /// 
  /// 
  public class CallToActionSectionModel : PageSectionModelBase {
    /// 
    /// 
    /// 
    public string PrivacyDisclaimer { get; set; }
    /// 
    /// 
    /// 
    public FormItemModel Email { get; set; }
    /// 
    /// 
    /// 
    /// 
    public CallToActionSectionModel(CallToActionSection callToActionSection) : base(callToActionSection) {
      PrivacyDisclaimer = callToActionSection.PrivacyDisclaimer;
      Email = new FormItemModel(callToActionSection.Email);
    }
  }
}