Wireup window with access methods + refaktor structure

This commit is contained in:
2020-03-22 21:52:02 +01:00
parent b1e62e829e
commit 88bd9b894a
16 changed files with 230 additions and 39 deletions

View File

@ -0,0 +1,25 @@
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; }
}
}