You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
584 B
C#

using SqlSugar;
namespace DS.Module.Core.PageQuery
{
/// <summary>
/// 查询请求基类
/// </summary>
/// <typeparam name="T">查询模型的类型</typeparam>
public class PageRequest<T> : PageRequest where T : QueryModel, new()
{
/// <summary>
/// 查询条件
/// </summary>
public new T QueryCondition { get; set; }
public PageRequest()
{
QueryCondition = new T();
}
}
/// <summary>
/// 查询模型基类
/// </summary>
public class QueryModel
{
}
}