Files
LaDOSE/LaDOSE.Src/LaDOSE.Entity/Challonge/TournamentsResult.cs
Darkstack 3d73071925 Add Tournament in Result DTO
Add a SpreadSheet for result
+ Fixes
2019-05-30 22:06:02 +02:00

40 lines
889 B
C#

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) : this(player, gameId, 0, point)
{
}
public Result(string player, int gameId, int tournamentdId, int point)
{
Player = player;
GameId = gameId;
Point = point;
TournamentdId = tournamentdId;
}
public Result()
{
}
public int TournamentdId { get; set; }
public int GameId { get; set; }
public string Player { get; set; }
public int Point { get; set; }
}
}