jellyfin-server/MediaBrowser.Model/Entities/Person.cs

35 lines
742 B
C#
Raw Normal View History


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 : BaseEntity
2012-07-12 17:09:35 +00:00
{
}
/// <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 override string ToString()
{
return Name;
}
2012-07-12 06:55:27 +00:00
}
public enum PersonType
{
Other,
Actor,
Director,
Writer,
Producer
2012-07-12 06:55:27 +00:00
}
}