2022-03-19 22:54:55 +01:00
|
|
|
|
using System;
|
2022-03-20 02:59:48 +01:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
2022-03-19 22:54:55 +01:00
|
|
|
|
|
|
|
|
|
|
namespace LaDOSE.Entity
|
|
|
|
|
|
{
|
|
|
|
|
|
public class Tournament : Context.Entity
|
|
|
|
|
|
{
|
|
|
|
|
|
public Tournament()
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Tournament(string name, int challongeId, int smashId)
|
|
|
|
|
|
{
|
|
|
|
|
|
Name = name;
|
|
|
|
|
|
ChallongeId = challongeId;
|
|
|
|
|
|
SmashId = smashId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-03-20 02:59:48 +01:00
|
|
|
|
public int EventId { get; set; }
|
|
|
|
|
|
public Event Event { get; set; }
|
2022-03-19 22:54:55 +01:00
|
|
|
|
public String Name { get; set; }
|
|
|
|
|
|
public int ChallongeId {get;set;}
|
|
|
|
|
|
public int SmashId {get;set;}
|
|
|
|
|
|
public int? GameId {get;set;}
|
|
|
|
|
|
public Game Game { get; set; }
|
2022-03-20 02:59:48 +01:00
|
|
|
|
|
|
|
|
|
|
public List<Result> Results { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-19 22:54:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|