Webiant Logo Webiant Logo
  1. No results found.

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

NeverSoldReportSearchModel.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.Reports;

/// 
/// Represents a never sold products report search model
/// 
public partial record NeverSoldReportSearchModel : BaseSearchModel
{
    #region Ctor

    public NeverSoldReportSearchModel()
    {
        AvailableCategories = new List();
        AvailableManufacturers = new List();
        AvailableStores = new List();
        AvailableVendors = new List();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.Reports.Sales.NeverSold.StartDate")]
    [UIHint("DateNullable")]
    public DateTime? StartDate { get; set; }

    [NopResourceDisplayName("Admin.Reports.Sales.NeverSold.EndDate")]
    [UIHint("DateNullable")]
    public DateTime? EndDate { get; set; }

    [NopResourceDisplayName("Admin.Reports.Sales.NeverSold.SearchCategory")]
    public int SearchCategoryId { get; set; }

    public IList AvailableCategories { get; set; }

    [NopResourceDisplayName("Admin.Reports.Sales.NeverSold.SearchManufacturer")]
    public int SearchManufacturerId { get; set; }

    public IList AvailableManufacturers { get; set; }

    [NopResourceDisplayName("Admin.Reports.Sales.NeverSold.SearchStore")]
    public int SearchStoreId { get; set; }

    public IList AvailableStores { get; set; }

    [NopResourceDisplayName("Admin.Reports.Sales.NeverSold.SearchVendor")]
    public int SearchVendorId { get; set; }

    public IList AvailableVendors { get; set; }

    public bool IsLoggedInAsVendor { get; set; }

    #endregion
}