feat(Core): add SearchResults models as pure POCOs

This commit is contained in:
Joseph Doherty
2026-01-06 23:27:47 -05:00
parent 671f8ce357
commit 14fdba2784
4 changed files with 113 additions and 0 deletions
@@ -0,0 +1,19 @@
namespace JdeScoping.Core.Models.SearchResults;
/// <summary>
/// Aggregates search metadata and results for export.
/// </summary>
public class SearchModel
{
public int Id { get; set; }
public string UserName { get; set; } = string.Empty;
public string Name { get; set; } = string.Empty;
public DateTime? SubmitDt { get; set; }
public DateTime? StartDt { get; set; }
public DateTime? EndDt { get; set; }
public bool ExtractMisData { get; set; }
public List<SearchResult> Results { get; set; } = [];
public List<MisSearchResult> MisResults { get; set; } = [];
public List<MisNonMatchSearchResult> MisNonMatchResults { get; set; } = [];
}