This commit is contained in:
2021-01-27 16:44:55 +00:00
parent 7d1bb41246
commit c59cc5969c
8 changed files with 119 additions and 34 deletions

View File

@@ -0,0 +1,17 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
namespace AyaNova.Models
{
public sealed class DataListTableOptions : DataListBase
{
public List<string> Columns { get; set; }
public const int MaxPageSize = 1000;
public const int DefaultOffset = 0;
public const int DefaultLimit = 25;
public int? Offset { get; set; }
public int? Limit { get; set; }
}
}