Webiant Logo Webiant Logo
  1. No results found.

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

CacheConfigModel.cs

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

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

/// 
/// Represents a cache configuration model
/// 
public partial record CacheConfigModel : BaseNopModel, IConfigModel
{
    #region Properties

    [NopResourceDisplayName("Admin.Configuration.AppSettings.Cache.DefaultCacheTime")]
    public int DefaultCacheTime { get; set; }

    [NopResourceDisplayName("Admin.Configuration.AppSettings.Cache.LinqDisableQueryCache")]
    public bool LinqDisableQueryCache { get; set; }

    #endregion
}