namespace CalledIt.DataAccess.Entities;

public class CompetitionEntity
{
    public int Id { get; set; }
    public string Name { get; set; } = string.Empty;
    public DateTime StartDate { get; set; }
    public DateTime EndDate { get; set; }
    public string Description { get; set; } = string.Empty;
    public string? LogoFileName { get; set; }

    public ICollection<MatchEntity> Matches { get; set; } = [];
}
