add competition Image to Database
This commit is contained in:
@@ -7,26 +7,29 @@ using System.Threading.Tasks;
|
||||
namespace Apollon.Domain.Models
|
||||
{
|
||||
public class Tournament
|
||||
{
|
||||
public Guid Id { get; }
|
||||
public string Organisation { get; }
|
||||
public string TournamentName { get; }
|
||||
public string Competition { get; }
|
||||
public DateTime StartDate { get; }
|
||||
public DateTime EndDate { get; }
|
||||
public string Location { get; }
|
||||
public int Rounds { get; }
|
||||
|
||||
public Tournament(Guid id, string organisation, string tournamentName, string competition, DateTime startDate, DateTime endDate, string location, int rounds = 0)
|
||||
{
|
||||
public Tournament(Guid id, string organisation, string tournamentName, string competition, string competitionImage, DateTime startDate, DateTime endDate, string location, int rounds)
|
||||
{
|
||||
Id = id;
|
||||
Organisation = organisation;
|
||||
TournamentName = tournamentName;
|
||||
Competition = competition;
|
||||
CompetitionImage = competitionImage;
|
||||
StartDate = startDate;
|
||||
EndDate = endDate;
|
||||
Location = location;
|
||||
Rounds = rounds;
|
||||
}
|
||||
|
||||
public Guid Id { get; }
|
||||
public string Organisation { get; }
|
||||
public string TournamentName { get; }
|
||||
public string Competition { get; }
|
||||
public string CompetitionImage { get; }
|
||||
public DateTime StartDate { get; }
|
||||
public DateTime EndDate { get; }
|
||||
public string Location { get; }
|
||||
public int Rounds { get; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user