namespace SharedLibraryCore.Dtos
{
///
/// pagination information holder class
///
public class PaginationInfo
{
///
/// how many items to skip
///
public int Offset { get; set; }
///
/// how many itesm to take
///
public int Count { get; set; }
///
/// filter query
///
public string Filter { get; set; }
///
/// direction of ordering
///
public SortDirection Direction { get; set; } = SortDirection.Descending;
}
public enum SortDirection
{
Ascending,
Descending
}
}