using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CP.Model.ZiXun.Query { public class NewManagerQuery { /// /// 新闻资讯类型 /// public NewManagerTypeEnum NewsType { get; set; } /// /// 分页 /// public PaginationQuery Pagination { get; set; } } public class PaginationQuery { /// /// 每页行数 /// public int Rows { get; set; } /// /// 当前页 /// public int Page { get; set; } /// /// 排序列 /// public string Sidx { get; set; } /// /// 排序类型,DESC或者ASC,默认DESC /// public string Sord { get; set; } = "DESC"; } public class Page { /// /// 数据 /// public T Data { get; set; } /// /// 数据总数 /// public int Total { get; set; } } }