using System.Linq.Expressions;
namespace ZB.MOM.WW.CBDD.Core.Query;
internal class QueryModel
{
///
/// Gets or sets the filter expression.
///
public LambdaExpression? WhereClause { get; set; }
///
/// Gets or sets the projection expression.
///
public LambdaExpression? SelectClause { get; set; }
///
/// Gets or sets the ordering expression.
///
public LambdaExpression? OrderByClause { get; set; }
///
/// Gets or sets the maximum number of results to return.
///
public int? Take { get; set; }
///
/// Gets or sets the number of results to skip.
///
public int? Skip { get; set; }
///
/// Gets or sets a value indicating whether ordering is descending.
///
public bool OrderDescending { get; set; }
}