namespace CalledIt.DataAccess.Entities;

public class MatchEntity
{
    public int Id { get; set; }
    public int CompetitionId { get; set; }
    public int HomeTeamId { get; set; }
    public int AwayTeamId { get; set; }
    public DateTime MatchDate { get; set; }
    public string Round { get; set; } = string.Empty;
    public int? HomeScore { get; set; }
    public int? AwayScore { get; set; }

    public CompetitionEntity Competition { get; set; } = null!;
    public TeamEntity HomeTeam { get; set; } = null!;
    public TeamEntity AwayTeam { get; set; } = null!;
}
