using SharedLibraryCore.QueryHelper;
using System;
namespace Stats.Dtos
{
public class ChatSearchQuery : ClientPaginationRequest
{
///
/// specifies the partial content of the message to search for
///
public string MessageContains { get; set; }
///
/// identifier for the server
///
public string ServerId { get; set; }
///
/// identifier for the client
///
public new int? ClientId { get; set; }
///
/// only look for messages sent after this date
///
public DateTime SentAfter { get; set; } = DateTime.UtcNow.AddYears(-100);
///
/// only look for messages sent before this date0
///
public DateTime SentBefore { get; set; } = DateTime.UtcNow;
///
/// indicates if the chat is on the meta page
///
public bool IsProfileMeta { get; set; }
}
}