using MediaBrowser.Model.Dto; using System; using System.Collections.Generic; namespace MediaBrowser.Controller.Entities { /// /// Class Genre /// public class Genre : BaseItem, IItemByName { public Genre() { ItemCounts = new ItemByNameCounts(); UserItemCounts = new Dictionary(); } /// /// Gets the user data key. /// /// System.String. public override string GetUserDataKey() { return "Genre-" + Name; } public ItemByNameCounts ItemCounts { get; set; } public Dictionary UserItemCounts { get; set; } } }