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