Webiant Logo Webiant Logo
  1. No results found.

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

WidgetModel.cs

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

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

/// 
/// Represents a widget model
/// 
public partial record WidgetModel : BaseNopModel, IPluginModel
{
    #region Properties

    [NopResourceDisplayName("Admin.ContentManagement.Widgets.Fields.FriendlyName")]
    public string FriendlyName { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Widgets.Fields.SystemName")]
    public string SystemName { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Widgets.Fields.DisplayOrder")]
    public int DisplayOrder { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Widgets.Fields.IsActive")]
    public bool IsActive { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Widgets.Configure")]
    public string ConfigurationUrl { get; set; }

    public string LogoUrl { get; set; }

    public string WidgetViewComponentName { get; set; }

    public RouteValueDictionary WidgetViewComponentArguments { get; set; }

    #endregion
}