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

34 lines
797 B
C#
Raw Normal View History

2012-07-12 06:55:27 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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
{
Actor = 1,
Director = 2,
Writer = 3
}
}