jellyfin/MediaBrowser.Controller/Entities/GameGenre.cs

28 lines
689 B
C#
Raw Normal View History

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