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

15 lines
437 B
C#
Raw Normal View History

namespace SanctionsSearch.Worker.Models;
2024-09-01 18:09:48 -05:00
class SearchResult(int searchRequestId, List<Hit> hits)
{
2024-09-01 18:09:48 -05:00
public int SearchRequestId { get; init; } = searchRequestId;
public List<Hit> Hits { get; init; } = hits;
2024-08-31 21:08:33 -05:00
}
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; } = [];
}