journal/Journal.Core/Dtos/EntrySearchDtos.cs

18 lines
488 B
C#

namespace Journal.Core.Dtos;
public sealed record EntrySearchRequestDto(
string DataDirectory,
string? Query = null,
string? Section = null,
string? StartDate = null,
string? EndDate = null,
IReadOnlyList<string>? Tags = null,
IReadOnlyList<string>? Types = null,
IReadOnlyList<string>? Checked = null,
IReadOnlyList<string>? Unchecked = null);
public sealed record EntrySearchResultDto(
string Date,
string FileName,
string RawContent);