mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 21:42:38 +01:00
21 lines
465 B
C#
21 lines
465 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace Sieve.Models
|
|||
|
{
|
|||
|
public class SieveModel
|
|||
|
{
|
|||
|
public IEnumerable<FilterTerm> Filter { get; set; }
|
|||
|
|
|||
|
public IEnumerable<SortTerm> Sort { get; set; }
|
|||
|
|
|||
|
[Range(1, Double.MaxValue)]
|
|||
|
public int Page { get; set; } = 1;
|
|||
|
|
|||
|
[Range(1, Double.MaxValue)]
|
|||
|
public int PageSize { get; set; } = 10;
|
|||
|
}
|
|||
|
}
|