namespace Core.Entities;
///
/// Represents a career field cluster that groups related careers together.
///
public class CareerField
{
///
/// Unique identifier for the career field (1-25)
///
public int Id { get; }
///
/// Display name of the career field
///
public string Name { get; }
///
/// Short description of the career field
///
public string Description { get; }
///
/// Exact career names that belong to this field
///
public IReadOnlyList DirectCareerMatches { get; }
///
/// Keywords for pattern matching (case-insensitive substring matching)
///
public IReadOnlyList PatternKeywords { get; }
///
/// Creates a new CareerField instance
///
/// Unique identifier
/// Display name
/// Short description of the career field
/// Exact career name matches
/// Keywords for pattern matching
public CareerField(int id, string name, string description, IReadOnlyList directCareerMatches, IReadOnlyList patternKeywords)
{
Id = id;
Name = name;
Description = description;
DirectCareerMatches = directCareerMatches ?? [];
PatternKeywords = patternKeywords ?? [];
}
public override string ToString() => Name;
}