mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 17:51:20 +00:00
22 lines
577 B
C#
22 lines
577 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MyCore.Interfaces.DTO
|
|
{
|
|
public class RequestParam
|
|
{
|
|
private const int maxPageCount = 50;
|
|
public int? Page { get; set; }
|
|
private int? _pageCount = maxPageCount;
|
|
public int? PageCount
|
|
{
|
|
get { return _pageCount; }
|
|
set { _pageCount = (value > maxPageCount) ? maxPageCount : value; }
|
|
}
|
|
public string SiteId { get; set; }
|
|
public string OrderBy { get; set; } = "Name";
|
|
}
|
|
}
|