oqtane.framework/Oqtane.Shared/Models/SearchQuery.cs
2024-07-17 13:57:47 -04:00

36 lines
921 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 From { get; set; }
public DateTime To { get; set; }
public IDictionary<string, string> Properties { get; set; } = new Dictionary<string, string>();
public int PageIndex { get; set; }
public int PageSize { get; set; }
public SearchSortFields SortField { get; set; }
public SearchSortDirections SortDirection { get; set; }
public int BodySnippetLength { get; set;} = 255;
}
}