Webiant Logo Webiant Logo
  1. No results found.

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

SortOptionModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

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

/// 
/// Represents a sort option model
/// 
public partial record SortOptionModel : BaseNopEntityModel
{
    #region Properties

    [NopResourceDisplayName("Admin.Configuration.Settings.Catalog.SortOptions.Name")]
    public string Name { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.Catalog.SortOptions.IsActive")]
    public bool IsActive { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.Catalog.SortOptions.DisplayOrder")]
    public int DisplayOrder { get; set; }

    #endregion
}