using Core.DomainObjects;
using Core.DomainObjects.Documents;
using Core.DomainObjects.Pages;
using Core.Enumerations;
using WeatherForecast.Models.Abstractions;
namespace WeatherForecast.Models {
  /// 
  /// 
  /// 
  public class ShopItemResponseModel : PostItemResponseModelBase {
    /// 
    /// 
    /// 
    public string Sku { get; set; }
    /// 
    /// 
    /// 
    public decimal? Rating { get; set; }
    /// 
    /// 
    /// 
    public decimal Price { get; set; }
    /// 
    /// 
    /// 
    public decimal? NewPrice { get; set; }
    /// 
    /// 
    /// 
    public uint? Quantity { get; set; }
    /// 
    /// 
    /// 
    /// 
    /// 
    public ShopItemResponseModel(ShopItem shopCatalogItem, List categories) : base(shopCatalogItem, categories) {
      Sku = shopCatalogItem.Sku;
      Rating = shopCatalogItem.Rating;
      Price = shopCatalogItem.Price;
      NewPrice = shopCatalogItem.NewPrice;
      Quantity = shopCatalogItem.Quantity;
    }
    /// 
    /// 
    /// 
    /// 
    /// 
    /// 
    public ShopItemResponseModel(ShopItem shopCatalogItem, List categories, Locales locale) : base(shopCatalogItem, categories, locale) {
      Sku = shopCatalogItem.Sku;
      Rating = shopCatalogItem.Rating;
      Price = shopCatalogItem.Price;
      NewPrice = shopCatalogItem.NewPrice;
      Quantity = shopCatalogItem.Quantity;
    }
  }
}