Files
sanctions-search/src/SanctionsSearch.Worker/Models/SearchResult.cs
T

21 lines
503 B
C#
Raw Normal View History

namespace SanctionsSearch.Worker.Models;
class SearchResult
{
2024-08-31 21:08:33 -05:00
public int SearchRequestId { get; init; }
public List<Hit> Hits { get; init; } = [];
public SearchResult(int searchRequestId, List<Hit> hits)
{
SearchRequestId = searchRequestId;
Hits = hits;
}
}
class Hit
{
public string Name { get; init; } = string.Empty;
public string Address { get; init; } = string.Empty;
public string Type { get; init; } = string.Empty;
public List<string> Programs { get; init; } = [];
}