Webiant Logo Webiant Logo
  1. No results found.

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

SalesSummarySearchModel.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;

public partial record SalesSummarySearchModel : BaseSearchModel
{
    #region Ctor

    public SalesSummarySearchModel()
    {
        AvailableStores = new List();
        AvailableOrderStatuses = new List();
        AvailablePaymentStatuses = new List();
        AvailableCategories = new List();
        AvailableManufacturers = new List();
        AvailableCountries = new List();
        OrderStatusIds = new List();
        PaymentStatusIds = new List();
        GroupByOptions = new List();
        AvailableVendors = new List();
    }

    #endregion

    #region Properties

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

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

    [NopResourceDisplayName("Admin.Reports.SalesSummary.Store")]
    public int StoreId { get; set; }

    [NopResourceDisplayName("Admin.Reports.SalesSummary.OrderStatus")]
    public IList OrderStatusIds { get; set; }

    [NopResourceDisplayName("Admin.Reports.SalesSummary.PaymentStatus")]
    public IList PaymentStatusIds { get; set; }

    [NopResourceDisplayName("Admin.Reports.SalesSummary.Category")]
    public int CategoryId { get; set; }

    [NopResourceDisplayName("Admin.Reports.SalesSummary.Manufacturer")]
    public int ManufacturerId { get; set; }

    [NopResourceDisplayName("Admin.Reports.SalesSummary.BillingCountry")]
    public int BillingCountryId { get; set; }

    [NopResourceDisplayName("Admin.Reports.SalesSummary.Product")]
    public int ProductId { get; set; }

    [NopResourceDisplayName("Admin.Reports.SalesSummary.GroupBy")]
    public int SearchGroupId { get; set; }

    [NopResourceDisplayName("Admin.Reports.SalesSummary.Vendor")]
    public int VendorId { get; set; }

    public IList AvailableStores { get; set; }

    public IList AvailableOrderStatuses { get; set; }

    public IList AvailablePaymentStatuses { get; set; }

    public IList AvailableCategories { get; set; }

    public IList AvailableManufacturers { get; set; }

    public IList AvailableCountries { get; set; }

    public IList GroupByOptions { get; set; }

    public IList AvailableVendors { get; set; }

    public bool IsLoggedInAsVendor { get; set; }

    #endregion
}