Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

CatalogProductsCommand.cs

using Microsoft.AspNetCore.Mvc;
using Nop.Web.Framework.UI.Paging;

namespace Nop.Web.Models.Catalog;

/// 
/// Represents a model to get the catalog products
/// 
public partial record CatalogProductsCommand : BasePageableModel
{
    #region Properties

    /// 
    /// Gets or sets the price ('min-max' format)
    /// 
    public string Price { get; set; }

    /// 
    /// Gets or sets the specification attribute option ids
    /// 
    [FromQuery(Name = "specs")]
    public List SpecificationOptionIds { get; set; }

    /// 
    /// Gets or sets the manufacturer ids
    /// 
    [FromQuery(Name = "ms")]
    public List ManufacturerIds { get; set; }

    /// 
    /// Gets or sets a order by
    /// 
    public int? OrderBy { get; set; }

    /// 
    /// Gets or sets a product sorting
    /// 
    public string ViewMode { get; set; }

    #endregion
}