aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Person.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Entities/Person.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Person.cs15
1 files changed, 14 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Person.cs b/MediaBrowser.Controller/Entities/Person.cs
index 273a10acc..3e0798435 100644
--- a/MediaBrowser.Controller/Entities/Person.cs
+++ b/MediaBrowser.Controller/Entities/Person.cs
@@ -1,4 +1,7 @@
-
+using MediaBrowser.Model.Dto;
+using System;
+using System.Collections.Generic;
+
namespace MediaBrowser.Controller.Entities
{
/// <summary>
@@ -6,6 +9,16 @@ namespace MediaBrowser.Controller.Entities
/// </summary>
public class Person : BaseItem, IItemByName
{
+ public Person()
+ {
+ ItemCounts = new ItemByNameCounts();
+ UserItemCounts = new Dictionary<Guid, ItemByNameCounts>();
+ }
+
+ public ItemByNameCounts ItemCounts { get; set; }
+
+ public Dictionary<Guid, ItemByNameCounts> UserItemCounts { get; set; }
+
/// <summary>
/// Gets the user data key.
/// </summary>