jellyfin/MediaBrowser.Controller/Entities/GameGenre.cs

28 lines
671 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()
{
2013-12-02 21:46:22 +00:00
UserItemCountList = new List<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]
2013-12-02 21:46:22 +00:00
public List<ItemByNameCounts> UserItemCountList { get; set; }
2013-07-01 17:17:33 +00:00
}
}