2013-09-10 11:56:00 -07:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2013-07-01 10:17:33 -07:00
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
|
|
|
|
public class GameGenre : BaseItem, IItemByName
|
|
|
|
|
{
|
2013-09-10 11:56:00 -07:00
|
|
|
|
public GameGenre()
|
|
|
|
|
{
|
|
|
|
|
ItemCounts = new ItemByNameCounts();
|
|
|
|
|
UserItemCounts = new Dictionary<Guid, ItemByNameCounts>();
|
|
|
|
|
}
|
|
|
|
|
|
2013-07-01 10:17:33 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the user data key.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>System.String.</returns>
|
|
|
|
|
public override string GetUserDataKey()
|
|
|
|
|
{
|
|
|
|
|
return "GameGenre-" + Name;
|
|
|
|
|
}
|
2013-09-10 11:56:00 -07:00
|
|
|
|
|
|
|
|
|
public ItemByNameCounts ItemCounts { get; set; }
|
|
|
|
|
|
|
|
|
|
public Dictionary<Guid, ItemByNameCounts> UserItemCounts { get; set; }
|
2013-07-01 10:17:33 -07:00
|
|
|
|
}
|
|
|
|
|
}
|