Mango.Nop.Plugins/Nop.Plugin.Misc.AuctionPlugin/Areas/Admin/Models/KendoGridRequestModel.cs

22 lines
632 B
C#

namespace Nop.Plugin.Misc.AuctionPlugin.Areas.Admin.Models
{
public class KendoGridRequestModel
{
// Page number
public int Page { get; set; } = 1;
// Page size (number of items per page)
public int PageSize { get; set; } = 10;
// Field to sort by
public string SortField { get; set; }
// Sort direction (e.g., "asc" or "desc")
public string SortDirection { get; set; }
// Optional: Filtering parameters, can be customized to fit your needs
public string FilterField { get; set; }
public string FilterValue { get; set; }
}
}