namespace SportsDivision.Domain.Entities;

public class EventRegistration
{
    public int EventRegistrationId { get; set; }
    public int TournamentEventLevelId { get; set; }
    public int? StudentId { get; set; }
    public int? RelayTeamId { get; set; }
    public string RegisteredBy { get; set; } = string.Empty;
    public DateTime RegisteredAt { get; set; } = DateTime.UtcNow;
    public TournamentEventLevel TournamentEventLevel { get; set; } = null!;
    public Student? Student { get; set; }
    public RelayTeam? RelayTeam { get; set; }
    public ICollection<HeatLane> HeatLanes { get; set; } = new List<HeatLane>();
    public Score? Score { get; set; }
}
