TournamentDTO
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LaDOSE.DTO
|
namespace LaDOSE.DTO
|
||||||
{
|
{
|
||||||
@@ -14,7 +15,21 @@ namespace LaDOSE.DTO
|
|||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public int? Rank { get; set; }
|
public int Rank { get; set; }
|
||||||
public bool? IsMember{ 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; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user