diff options
Diffstat (limited to 'MediaBrowser.Controller/Entities/Person.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Person.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Person.cs b/MediaBrowser.Controller/Entities/Person.cs index 120a376d4..560ea6e05 100644 --- a/MediaBrowser.Controller/Entities/Person.cs +++ b/MediaBrowser.Controller/Entities/Person.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; +using MediaBrowser.Model.Entities; namespace MediaBrowser.Controller.Entities { @@ -115,8 +116,13 @@ namespace MediaBrowser.Controller.Entities /// <summary> /// This is the small Person stub that is attached to BaseItems /// </summary> - public class PersonInfo + public class PersonInfo : IHasProviderIds { + public PersonInfo() + { + ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); + } + public Guid ItemId { get; set; } /// <summary> @@ -141,6 +147,10 @@ namespace MediaBrowser.Controller.Entities /// <value>The sort order.</value> public int? SortOrder { get; set; } + public string ImageUrl { get; set; } + + public Dictionary<string, string> ProviderIds { get; set; } + /// <summary> /// Returns a <see cref="System.String" /> that represents this instance. /// </summary> |
