using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace FotbalPortal.Models
{
    public class Category
    {
        public int id { get; set; }
        [Display(Name = "Název kategorie")]
        public string name { get; set; }

        [Display(Name = "Nadřazená kategorie")]
        public int? parentID { get; set; }
        public virtual Category parent { get; set; }
    }
}

