Quick and Dirty Tournament Result / List

This commit is contained in:
2019-05-30 00:42:12 +02:00
parent 9b148fa571
commit 102a6af8e0
14 changed files with 407 additions and 37 deletions

View File

@@ -6,7 +6,7 @@ namespace LaDOSE.Entity.Challonge
{
public int Id { get; set; }
public string Name { get; set; }
public string Game { get; set; }
public Game Game { get; set; }
public List<Participent> Participents { get; set; }
}
}

View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
namespace LaDOSE.Entity.Challonge
{
public class TournamentsResult
{
public List<Participent> Participents { get; set; }
public List<Game> Games{ get; set; }
public List<Result> Results { get; set; }
}
public class Result
{
public Result(string player, int gameId, int point)
{
Player = player;
GameId = gameId;
Point = point;
}
public Result()
{
}
public int GameId { get; set; }
public string Player { get; set; }
public int Point { get; set; }
}
}