Webiant Logo Webiant Logo
  1. No results found.

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

AffiliateSearchModel.cs

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

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

/// 
/// Represents an affiliate search model
/// 
public partial record AffiliateSearchModel : BaseSearchModel
{
    #region Properties

    [NopResourceDisplayName("Admin.Affiliates.List.SearchFirstName")]
    public string SearchFirstName { get; set; }

    [NopResourceDisplayName("Admin.Affiliates.List.SearchLastName")]
    public string SearchLastName { get; set; }

    [NopResourceDisplayName("Admin.Affiliates.List.SearchFriendlyUrlName")]
    public string SearchFriendlyUrlName { get; set; }

    [NopResourceDisplayName("Admin.Affiliates.List.LoadOnlyWithOrders")]
    public bool LoadOnlyWithOrders { get; set; }

    [NopResourceDisplayName("Admin.Affiliates.List.OrdersCreatedFromUtc")]
    [UIHint("DateNullable")]
    public DateTime? OrdersCreatedFromUtc { get; set; }

    [NopResourceDisplayName("Admin.Affiliates.List.OrdersCreatedToUtc")]
    [UIHint("DateNullable")]
    public DateTime? OrdersCreatedToUtc { get; set; }

    #endregion
}