Webiant Logo Webiant Logo
  1. No results found.

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

GdprLogSearchModel.cs

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

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

/// 
/// Represents a GDPR log search model
/// 
public partial record GdprLogSearchModel : BaseSearchModel
{
    #region Ctor

    public GdprLogSearchModel()
    {
        AvailableRequestTypes = new List();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.Customers.GdprLog.List.SearchEmail")]
    [DataType(DataType.EmailAddress)]
    public string SearchEmail { get; set; }

    [NopResourceDisplayName("Admin.Customers.GdprLog.List.SearchRequestType")]
    public int SearchRequestTypeId { get; set; }

    public IList AvailableRequestTypes { get; set; }

    #endregion
}