namespace Admin.NET.Core; /// /// 全局分页查询输入参数 /// public class BasePageInput { /// /// 当前页码 /// [DataValidation(ValidationTypes.Numeric)] public virtual int Page { get; set; } = 1; /// /// 页码容量 /// //[Range(0, 100, ErrorMessage = "页码容量超过最大限制")] [DataValidation(ValidationTypes.Numeric)] public virtual int PageSize { get; set; } = 20; /// /// 排序字段 /// public virtual string Field { get; set; } /// /// 排序方向 /// public virtual string Order { get; set; } /// /// 降序排序 /// public virtual string DescStr { get; set; } = "descending"; }