1231
This commit is contained in:
21
MyCode.Project.Domain/Dtos/Common/SortQuery.cs
Normal file
21
MyCode.Project.Domain/Dtos/Common/SortQuery.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using MyCode.Project.Infrastructure.Enumeration;
|
||||
using System;
|
||||
|
||||
namespace MyCode.Project.Domain.Dtos.Common
|
||||
{
|
||||
/// <summary>
|
||||
/// 排序查询
|
||||
/// </summary>
|
||||
public class SortQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// 排序字段
|
||||
/// </summary>
|
||||
public int Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否降序,true:是,false:否
|
||||
/// </summary>
|
||||
public bool Desc { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user