Get the sets
This commit is contained in:
24
LaDOSE.Src/LaDOSE.Entity/TournamentEntities/Set.cs
Normal file
24
LaDOSE.Src/LaDOSE.Entity/TournamentEntities/Set.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace LaDOSE.Entity
|
||||
{
|
||||
public class Set : Context.Entity
|
||||
{
|
||||
public int TournamentId { get; set; }
|
||||
public Tournament Tournament { get; set; }
|
||||
|
||||
|
||||
public int Player1Id { get; set; }
|
||||
//[ForeignKey("Player1Id")]
|
||||
//public Player Player1 { get; set; }
|
||||
|
||||
public int Player2Id { get; set; }
|
||||
//[ForeignKey("Player2Id")]
|
||||
//public Player Player2 { get; set; }
|
||||
|
||||
public int Player1Score { get; set; }
|
||||
public int Player2Score { get; set; }
|
||||
|
||||
public int Round { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user