Webiant Logo Webiant Logo
  1. No results found.

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

MessageTemplateSearchModel.cs

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

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

/// 
/// Represents a message template search model
/// 
public partial record MessageTemplateSearchModel : BaseSearchModel
{
    #region Ctor

    public MessageTemplateSearchModel()
    {
        AvailableStores = new List();
        AvailableActiveOptions = new List();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.ContentManagement.MessageTemplates.List.SearchKeywords")]
    public string SearchKeywords { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.MessageTemplates.List.SearchStore")]
    public int SearchStoreId { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.MessageTemplates.List.IsActive")]
    public int IsActiveId { get; set; }

    public IList AvailableStores { get; set; }

    public IList AvailableActiveOptions { get; set; }

    public bool HideStoresList { get; set; }

    #endregion
}