Webiant Logo Webiant Logo
  1. No results found.

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

SettingModel.cs

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

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

/// 
/// Represents a setting model
/// 
public partial record SettingModel : BaseNopEntityModel
{
    #region Ctor

    public SettingModel()
    {
        AvailableStores = new List();
    }

    #endregion

    #region Properties

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

    [NopResourceDisplayName("Admin.Configuration.Settings.AllSettings.Fields.Value")]
    public string Value { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.AllSettings.Fields.StoreName")]
    public string Store { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.AllSettings.Fields.Store")]
    public int StoreId { get; set; }
    public IList AvailableStores { get; set; }

    #endregion
}