using System; using System.Collections.Generic; using MediaBrowser.Model.Entities; namespace MediaBrowser.Model.Users { public class User : BaseEntity { public string MaxParentalRating { get; set; } private Dictionary _ItemData = new Dictionary(); public Dictionary ItemData { get { return _ItemData; } set { _ItemData = value; } } public int RecentItemDays { get; set; } public User() { RecentItemDays = 14; } /// /// Gets user data for an item, if there is any /// public UserItemData GetItemData(Guid itemId) { if (ItemData.ContainsKey(itemId)) { return ItemData[itemId]; } return null; } } }