using Newtonsoft.Json; namespace Nop.Web.Framework.Models; /// /// Represents the base paged list model (implementation for DataTables grids) /// public abstract partial record BasePagedListModel : BaseNopModel, IPagedModel where T : BaseNopModel { /// /// Gets or sets data records /// public IEnumerable Data { get; set; } /// /// Gets or sets draw /// [JsonProperty(PropertyName = "draw")] public string Draw { get; set; } /// /// Gets or sets a number of filtered data records /// [JsonProperty(PropertyName = "recordsFiltered")] public int RecordsFiltered { get; set; } /// /// Gets or sets a number of total data records /// [JsonProperty(PropertyName = "recordsTotal")] public int RecordsTotal { get; set; } }