﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace futebolGoiano.Models
{
    public class TeamInfo
    {
        [Key]
        public int Id { get; set; }
        public GeneralData GeneralData { get; set; }
        public List<Match> Games { get; set; }
        public Summary Summary { get; set; }
        public Cast Cast { get; set; }

        public TeamInfo()
        {
            Games = new List<Match>();
            Cast = new Cast();
            Summary = new Summary();
            GeneralData = new GeneralData();
        }
    }
}