using SportsDivision.Domain.Enums;
namespace SportsDivision.Application.DTOs;
public class TournamentDto { public int TournamentId { get; set; } public string Name { get; set; } = string.Empty; public DateOnly StartDate { get; set; } public DateOnly EndDate { get; set; } public int? ZoneId { get; set; } public string? ZoneName { get; set; } public SchoolLevel? SchoolLevel { get; set; } public bool IsArchived { get; set; } public TournamentStatus Status { get; set; } public int EventCount { get; set; } public int RegistrationCount { get; set; } }
public class TournamentCreateDto { public string Name { get; set; } = string.Empty; public DateOnly StartDate { get; set; } public DateOnly EndDate { get; set; } public int? ZoneId { get; set; } public SchoolLevel? SchoolLevel { get; set; } }
public class TournamentUpdateDto : TournamentCreateDto { public int TournamentId { get; set; } }
