using DomainObjects.Pages;
using WeatherForecast.Models.Abstractions;
using WeatherForecast.Models.Content.Responses.PageSections;

namespace WeatherForecast.Models.Content.Responses.Pages {

  /// <summary>
  /// 
  /// </summary>
  public class ShopCatalogPageModel : PageModelBase<ShopCatalogPage> {

    /// <summary>
    /// 
    /// </summary>
    public ShopItemsSectionModel ShopItemsSection { get; set; }

    /// <summary>
    /// 
    /// </summary>
    /// <param name="shopCatalogPage"></param>
    public ShopCatalogPageModel(ShopCatalogPage shopCatalogPage) : base(shopCatalogPage) {

      ShopItemsSection = new ShopItemsSectionModel(shopCatalogPage.ShopItemsSection);
    }
  }
}
