Webiant Logo Webiant Logo
  1. No results found.

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

CategorySearchModel.cs

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

namespace Nop.Web.Areas.Admin.Models.Catalog;

/// 
/// Represents a category search model
/// 
public partial record CategorySearchModel : BaseSearchModel
{
    #region Ctor

    public CategorySearchModel()
    {
        AvailableStores = new List();
        AvailablePublishedOptions = new List();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.Catalog.Categories.List.SearchCategoryName")]
    public string SearchCategoryName { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Categories.List.SearchPublished")]
    public int SearchPublishedId { get; set; }

    public IList AvailablePublishedOptions { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Categories.List.SearchStore")]
    public int SearchStoreId { get; set; }

    public IList AvailableStores { get; set; }

    public bool HideStoresList { get; set; }

    #endregion
}