34 lines
867 B
C#
34 lines
867 B
C#
using Core.DomainObjects.Pages;
|
|
using WeatherForecast.Models.Abstractions;
|
|
using WeatherForecast.Models.PageSections;
|
|
|
|
namespace WeatherForecast.Models.Pages {
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class ShopItemPageModel : PageModelBase<ShopItemPage> {
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public ProductSectionModel ProductSection { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public RelatedProductsSectionModel RelatedProductsSection { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="shopItemPage"></param>
|
|
public ShopItemPageModel(ShopItemPage shopItemPage) : base(shopItemPage) {
|
|
ProductSection = new ProductSectionModel(shopItemPage.ProductSection);
|
|
RelatedProductsSection = new RelatedProductsSectionModel(shopItemPage.RelatedProductsSection);
|
|
|
|
|
|
}
|
|
}
|
|
}
|