2013-11-24 21:51:45 +01:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
2013-09-10 20:56:00 +02:00
|
|
|
|
using System.Collections.Generic;
|
2013-11-24 21:51:45 +01:00
|
|
|
|
using System.Runtime.Serialization;
|
2013-09-10 20:56:00 +02:00
|
|
|
|
|
2013-02-21 02:33:05 +01:00
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class Genre
|
|
|
|
|
/// </summary>
|
2013-06-27 21:29:58 +02:00
|
|
|
|
public class Genre : BaseItem, IItemByName
|
2013-02-21 02:33:05 +01:00
|
|
|
|
{
|
2013-09-10 20:56:00 +02:00
|
|
|
|
public Genre()
|
|
|
|
|
{
|
2013-12-02 22:46:22 +01:00
|
|
|
|
UserItemCountList = new List<ItemByNameCounts>();
|
2013-09-10 20:56:00 +02:00
|
|
|
|
}
|
|
|
|
|
|
2013-04-13 20:02:30 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the user data key.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>System.String.</returns>
|
|
|
|
|
public override string GetUserDataKey()
|
|
|
|
|
{
|
2013-04-22 06:38:03 +02:00
|
|
|
|
return "Genre-" + Name;
|
2013-04-13 20:02:30 +02:00
|
|
|
|
}
|
2013-09-10 20:56:00 +02:00
|
|
|
|
|
2013-09-10 22:23:41 +02:00
|
|
|
|
[IgnoreDataMember]
|
2013-12-02 22:46:22 +01:00
|
|
|
|
public List<ItemByNameCounts> UserItemCountList { get; set; }
|
2013-02-21 02:33:05 +01:00
|
|
|
|
}
|
|
|
|
|
}
|