This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.

36 lines
912 B
C#

using System;
using System.Collections.Generic;
using Oqtane.Shared;
namespace Oqtane.Models
{
public class SearchQuery
{
public int SiteId { get; set; }
public Alias Alias { get; set; }
public string Keywords { get; set; }
public string IncludeEntities { get; set; } = ""; // comma delimited entities to include
public string ExcludeEntities { get; set; } = ""; // comma delimited entities to exclude
public DateTime FromDate { get; set; }
public DateTime ToDate { get; set; }
public IDictionary<string, string> Properties { get; set; } = new Dictionary<string, string>();
public int PageIndex { get; set; }
public int PageSize { get; set; }
public SearchSortField SortField { get; set; }
public SearchSortOrder SortOrder { get; set; }
public int BodyLength { get; set;} = 255;
}
}