Files
TournamentTracker/TrackerLibrary/Models/MatchupModel.cs

26 lines
704 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace TrackerLibrary.Models
{
/// <summary>
/// Represents one match in the tournament.
/// </summary>
public class MatchupModel
{
/// <summary>
/// The set of teams that were involved in this match.
/// </summary>
public List<MatchupEntryModel> Entries { get; set; } = new List<MatchupEntryModel>();
/// <summary>
/// The winner of the match.
/// </summary>
public TeamModel Winner { get; set; }
/// <summary>
/// Which round this match is a part of.
/// </summary>
public int MatchupRound { get; set; }
}
}