using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WIDESEA_Core { /// /// 分页数据选项 /// public class PageDataOptions { /// /// 当前页码 /// public int Page { get; set; } /// /// 每页显示的行数 /// public int Rows { get; set; } /// /// 总记录数 /// public int Total { get; set; } /// /// 表名 /// public string TableName { get; set; } /// /// 排序列名 /// public string Sort { get; set; } /// /// 排序方式 /// public string Order { get; set; } /// /// 查询条件 /// public string Wheres { get; set; } /// /// 是否导出 /// public bool Export { get; set; } /// /// 其他参数 /// public object Value { get; set; } /// /// 查询条件 /// public List Filter { get; set; } } //定义一个搜索参数类 public class SearchParameters { //搜索参数名称 public string Name { get; set; } //搜索参数值 public string Value { get; set; } //查询类型:LinqExpressionType public string DisplayType { get; set; } } }