Person.cs 742 B

12345678910111213141516171819202122232425262728293031323334
  1. 
  2. namespace MediaBrowser.Model.Entities
  3. {
  4. /// <summary>
  5. /// This is the full Person object that can be retrieved with all of it's data.
  6. /// </summary>
  7. public class Person : BaseEntity
  8. {
  9. }
  10. /// <summary>
  11. /// This is the small Person stub that is attached to BaseItems
  12. /// </summary>
  13. public class PersonInfo
  14. {
  15. public string Name { get; set; }
  16. public string Overview { get; set; }
  17. public PersonType PersonType { get; set; }
  18. public override string ToString()
  19. {
  20. return Name;
  21. }
  22. }
  23. public enum PersonType
  24. {
  25. Other,
  26. Actor,
  27. Director,
  28. Writer,
  29. Producer
  30. }
  31. }