Tournament management
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
@@ -21,8 +22,9 @@ public class Tournament
|
||||
public int? S1GroupAdvances { get; set; }
|
||||
public RuleSet? S2RuleSet { get; set; }
|
||||
|
||||
public required Game Game { get; set; }
|
||||
public required Event Event { get; set; }
|
||||
public Game Game { get; set; } = null!;
|
||||
public Event Event { get; set; } = null!;
|
||||
public List<TournamentTeam> TournamentTeams { get; set; } = [];
|
||||
|
||||
public static ValidationResult ValidateDates(DateTime date, ValidationContext context)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user