Added some resolver improvements

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-07-12 13:09:35 -04:00
parent b50f78e5da
commit 4c9f77eead
9 changed files with 51 additions and 54 deletions

View File

@@ -38,7 +38,8 @@ namespace MediaBrowser.Model.Entities
public string Overview { get; set; }
public string Tagline { get; set; }
public IEnumerable<Person> People { get; set; }
[JsonIgnore]
public IEnumerable<PersonInfo> People { get; set; }
public IEnumerable<string> Studios { get; set; }

View File

@@ -6,10 +6,21 @@ using System.Threading.Tasks;
namespace MediaBrowser.Model.Entities
{
public class Person
/// <summary>
/// This is the full Person object that can be retrieved with all of it's data.
/// </summary>
public class Person : BaseItem
{
public PersonType PersonType { get; set; }
}
/// <summary>
/// This is the small Person stub that is attached to BaseItems
/// </summary>
public class PersonInfo
{
public string Name { get; set; }
public string Description { get; set; }
public string Overview { get; set; }
public PersonType PersonType { get; set; }
}