Files
LaDOSE/LaDOSE.Src/LaDOSE.DTO/TournamentDTO.cs

36 lines
924 B
C#
Raw Normal View History

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; }
public int TournamendId { get; set; }
2019-05-30 00:42:24 +02:00
}
2019-05-29 02:15:31 +02:00
}