2024-08-30 22:28:31 -05:00
|
|
|
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; } = [];
|
2024-08-30 22:28:31 -05:00
|
|
|
}
|