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

namespace WeatherForecast.Models.PageSections {

  /// <summary>
  /// 
  /// </summary>
  public class ProductSectionModel : PageSectionModelBase<ProductSection> {

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

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

    /// <summary>
    /// 
    /// </summary>
    /// <param name="productSection"></param>
    public ProductSectionModel(ProductSection productSection) : base(productSection) {
      AvailableQuantity = productSection.AvailableQuantity;
      AddToCart = productSection.AddToCart;
    }
  }
}
