fix: fixed model issues
Game and Tournament forgot to add setters to group count and advancement numbers to stage 1 in multistage tournaments Participant apparently accidentally deleted the composite key in TeamParticipant
This commit is contained in:
@@ -22,8 +22,8 @@ public class Game
|
||||
public string Description { get; set; } = "Example Game Description";
|
||||
|
||||
public RuleSet S1RuleSet { get; set; }
|
||||
public int S1Groups;
|
||||
public int S1GroupAdvances;
|
||||
public int? S1Groups { get; set; }
|
||||
public int? S1GroupAdvances { get; set; }
|
||||
|
||||
public RuleSet? S2RuleSet { get; set; }
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ public class PlayerParticipant
|
||||
public required Round Round { get; set; }
|
||||
}
|
||||
|
||||
|
||||
[PrimaryKey(nameof(MatchId), nameof(TeamId))]
|
||||
public class TeamParticipant
|
||||
{
|
||||
public int MatchId { get; set; }
|
||||
|
||||
@@ -17,8 +17,8 @@ public class Tournament
|
||||
public DateTime End { get; set; }
|
||||
|
||||
public RuleSet S1RuleSet { get; set; }
|
||||
public int S1Groups;
|
||||
public int S1GroupAdvances;
|
||||
public int? S1Groups { get; set; }
|
||||
public int? S1GroupAdvances { get; set; }
|
||||
public RuleSet? S2RuleSet { get; set; }
|
||||
|
||||
public required Game Game { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user