mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 19:17:24 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			716 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			716 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using MediaBrowser.Model.Dto;
 | 
						|
using System;
 | 
						|
using System.Collections.Generic;
 | 
						|
using System.Runtime.Serialization;
 | 
						|
 | 
						|
namespace MediaBrowser.Controller.Entities
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// Class Genre
 | 
						|
    /// </summary>
 | 
						|
    public class Genre : BaseItem, IItemByName
 | 
						|
    {
 | 
						|
        public Genre()
 | 
						|
        {
 | 
						|
            UserItemCountList = new List<ItemByNameCounts>();
 | 
						|
        }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// Gets the user data key.
 | 
						|
        /// </summary>
 | 
						|
        /// <returns>System.String.</returns>
 | 
						|
        public override string GetUserDataKey()
 | 
						|
        {
 | 
						|
            return "Genre-" + Name;
 | 
						|
        }
 | 
						|
 | 
						|
        [IgnoreDataMember]
 | 
						|
        public List<ItemByNameCounts> UserItemCountList { get; set; }
 | 
						|
    }
 | 
						|
}
 |