2019-05-30 00:42:24 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
2019-05-29 02:15:31 +02:00
|
|
|
|
|
|
|
|
|
|
namespace LaDOSE.DTO
|
|
|
|
|
|
{
|
|
|
|
|
|
public class TournamentDTO
|
|
|
|
|
|
{
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
public string Game { get; set; }
|
|
|
|
|
|
public List<ParticipentDTO> Participents {get;set;}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class ParticipentDTO
|
|
|
|
|
|
{
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
2019-05-30 00:42:24 +02:00
|
|
|
|
public int Rank { get; set; }
|
2019-05-29 02:15:31 +02:00
|
|
|
|
public bool? IsMember{ get; set; }
|
|
|
|
|
|
}
|
2019-05-30 00:42:24 +02:00
|
|
|
|
|
|
|
|
|
|
public class TournamentsResultDTO
|
|
|
|
|
|
{
|
|
|
|
|
|
public List<ParticipentDTO> Participents { get; set; }
|
|
|
|
|
|
public List<GameDTO> Games { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public List<ResultDTO> Results { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
public class ResultDTO
|
|
|
|
|
|
{
|
|
|
|
|
|
public int GameId { get; set; }
|
|
|
|
|
|
public string Player { get; set; }
|
|
|
|
|
|
public int Point { get; set; }
|
2019-05-30 22:06:02 +02:00
|
|
|
|
public int TournamendId { get; set; }
|
2019-06-02 17:19:28 +02:00
|
|
|
|
public string TournamentUrl { get; set; }
|
2019-05-30 00:42:24 +02:00
|
|
|
|
}
|
2019-05-29 02:15:31 +02:00
|
|
|
|
}
|