Files
Yi.Admin/Yi.Framework.Net6/Yi.Framework.Model/Query/QueryCondition.cs

29 lines
759 B
C#
Raw Normal View History

2022-04-06 18:05:00 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Model.Query
{
2022-04-08 23:44:25 +08:00
public class QueryPageCondition
2022-04-06 18:05:00 +08:00
{
public int Index { get; set; }
public int Size { get; set; }
2022-04-08 23:44:25 +08:00
public List<QueryParameter> Parameters { get; set; } = new List<QueryParameter>();
public List<string> OrderBys { get; set; } = new List<string>();
public bool IsAsc { get; set; } = false;
2022-04-08 23:44:25 +08:00
}
public class QueryCondition
{
2022-04-06 18:05:00 +08:00
public List<QueryParameter> Parameters { get; set; } = new List<QueryParameter>();
public List<string> OrderBys { get; set; } = new List<string>();
public bool IsAsc { get; set; } = false;
2022-04-06 18:05:00 +08:00
}
}