jellyfin/MediaBrowser.Model/Entities/Person.cs
LukePulverenti Luke Pulverenti luke pulverenti caffc4c3ec Fixed issue of only one person getting picked up
2012-08-13 21:46:52 -04:00

36 lines
794 B
C#

namespace MediaBrowser.Model.Entities
{
/// <summary>
/// This is the full Person object that can be retrieved with all of it's data.
/// </summary>
public class Person : BaseEntity
{
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 Overview { get; set; }
public PersonType PersonType { get; set; }
public override string ToString()
{
return Name;
}
}
public enum PersonType
{
Other,
Actor,
Director,
Writer,
Producer
}
}