20 lines
587 B
C#
20 lines
587 B
C#
using Nop.Web.Framework.Models;
|
|
using Nop.Web.Framework.Mvc.ModelBinding;
|
|
|
|
namespace Nop.Web.Areas.Admin.Models.Settings;
|
|
|
|
/// <summary>
|
|
/// Represents a cache configuration model
|
|
/// </summary>
|
|
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
|
|
} |