Webiant Logo Webiant Logo
  1. No results found.

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

AffiliatedOrderSearchModel.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.Affiliates;

/// 
/// Represents an affiliated order search model
/// 
public partial record AffiliatedOrderSearchModel : BaseSearchModel
{
    #region Ctor

    public AffiliatedOrderSearchModel()
    {
        AvailableOrderStatuses = new List();
        AvailablePaymentStatuses = new List();
        AvailableShippingStatuses = new List();
    }

    #endregion

    #region Properties

    public int AffliateId { get; set; }

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

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

    [NopResourceDisplayName("Admin.Affiliates.Orders.OrderStatus")]
    public int OrderStatusId { get; set; }

    [NopResourceDisplayName("Admin.Affiliates.Orders.PaymentStatus")]
    public int PaymentStatusId { get; set; }

    [NopResourceDisplayName("Admin.Affiliates.Orders.ShippingStatus")]
    public int ShippingStatusId { get; set; }

    public IList AvailableOrderStatuses { get; set; }
    public IList AvailablePaymentStatuses { get; set; }
    public IList AvailableShippingStatuses { get; set; }

    #endregion
}