2012-07-16 16:50:44 +00:00
|
|
|
|
|
2012-07-12 06:55:27 +00:00
|
|
|
|
namespace MediaBrowser.Model.Entities
|
|
|
|
|
{
|
2012-07-12 17:09:35 +00:00
|
|
|
|
/// <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
|
2012-07-12 06:55:27 +00:00
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
2012-07-12 17:09:35 +00:00
|
|
|
|
public string Overview { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
public PersonType PersonType { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum PersonType
|
|
|
|
|
{
|
2012-07-16 16:50:44 +00:00
|
|
|
|
Actor,
|
|
|
|
|
Director,
|
|
|
|
|
Writer,
|
|
|
|
|
Producer
|
2012-07-12 06:55:27 +00:00
|
|
|
|
}
|
|
|
|
|
}
|