TournamentDTO

This commit is contained in:
2019-05-30 00:42:24 +02:00
parent 102a6af8e0
commit 6d7e84c33a

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
namespace LaDOSE.DTO
{
@@ -14,7 +15,21 @@ namespace LaDOSE.DTO
{
public int Id { get; set; }
public string Name { get; set; }
public int? Rank { get; set; }
public int Rank { get; set; }
public bool? IsMember{ get; set; }
}
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; }
}
}