31 lines
760 B
C#
31 lines
760 B
C#
using System.Runtime.Serialization;
|
|
using MediaBrowser.Model.Dto;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MediaBrowser.Controller.Entities.Audio
|
|
{
|
|
/// <summary>
|
|
/// Class MusicGenre
|
|
/// </summary>
|
|
public class MusicGenre : BaseItem, IItemByName
|
|
{
|
|
public MusicGenre()
|
|
{
|
|
UserItemCounts = new Dictionary<Guid, ItemByNameCounts>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the user data key.
|
|
/// </summary>
|
|
/// <returns>System.String.</returns>
|
|
public override string GetUserDataKey()
|
|
{
|
|
return "MusicGenre-" + Name;
|
|
}
|
|
|
|
[IgnoreDataMember]
|
|
public Dictionary<Guid, ItemByNameCounts> UserItemCounts { get; set; }
|
|
}
|
|
}
|