using Core.DomainObjects.PageSections;
using WeatherForecast.Models.Abstractions;

namespace WeatherForecast.Models.PageSections {

  /// <summary>
  /// 
  /// </summary>
  public class CheckoutSettingsSectionModel : PageSectionModelBase<SettingsSection> {

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

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

    /// <summary>
    /// 
    /// </summary>
    /// <param name="settingsSection"></param>
    public CheckoutSettingsSectionModel(SettingsSection settingsSection) : base(settingsSection) {
      ShippingAddressSameAsBillingAddress = settingsSection.ShippingAddressSameAsBillingAddress;
      SaveThisInformation = settingsSection.SaveThisInformation;
    }
  }
}
