Webiant Logo Webiant Logo
  1. No results found.

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

ManufacturerFilterModel.cs

using Microsoft.AspNetCore.Mvc.Rendering;
using Nop.Web.Framework.Models;

namespace Nop.Web.Models.Catalog;

/// <summary>
/// Represents a manufacturer filter model
/// </summary>
public partial record ManufacturerFilterModel : BaseNopModel
{
    #region Properties

    /// <summary>
    /// Gets or sets a value indicating whether filtering is enabled
    /// </summary>
    public bool Enabled { get; set; }

    /// <summary>
    /// Gets or sets the filtrable manufacturers
    /// </summary>
    public IList<SelectListItem> Manufacturers { get; set; }

    #endregion

    #region Ctor

    public ManufacturerFilterModel()
    {
        Manufacturers = new List<SelectListItem>();
    }

    #endregion
}