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

namespace WeatherForecast.Models.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);
    }
  }
}
