17 lines
506 B
C#
17 lines
506 B
C#
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; }
|
|
}
|
|
} |