Webiant Logo Webiant Logo
  1. No results found.

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

CustomEventModel.cs

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

namespace Nop.Plugin.Widgets.FacebookPixel.Models;

/// 
/// Represents a custom event model
/// 
public record CustomEventModel : BaseNopModel
{
    #region Ctor

    public CustomEventModel()
    {
        WidgetZonesIds = new List();
        WidgetZones = new List();
        AvailableWidgetZones = new List();
    }

    #endregion

    #region Properties

    public int ConfigurationId { get; set; }

    [NopResourceDisplayName("Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Fields.EventName")]
    public string EventName { get; set; }

    [NopResourceDisplayName("Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Fields.WidgetZones")]
    public IList WidgetZonesIds { get; set; }
    public IList WidgetZones { get; set; }
    public IList AvailableWidgetZones { get; set; }
    public string WidgetZonesName { get; set; }

    #endregion
}