namespace JobsJobsJobs.Shared.Api
{
///
/// The various ways profiles can be searched
///
public class ProfileSearch
{
///
/// Retrieve citizens from this continent
///
public string? ContinentId { get; set; }
///
/// Text for a search within a citizen's skills
///
public string? Skill { get; set; }
///
/// Text for a search with a citizen's professional biography and experience fields
///
public string? BioExperience { get; set; }
///
/// Whether to retrieve citizens who do or do not want remote work
///
public string RemoteWork { get; set; } = "";
///
/// Is the search empty?
///
public bool IsEmptySearch =>
string.IsNullOrEmpty(ContinentId)
&& string.IsNullOrEmpty(Skill)
&& string.IsNullOrEmpty(BioExperience)
&& string.IsNullOrEmpty(RemoteWork);
}
}