Person.cs 683 B

1234567891011121314151617181920212223242526272829
  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 : BaseItem
  8. {
  9. public PersonType PersonType { get; set; }
  10. }
  11. /// <summary>
  12. /// This is the small Person stub that is attached to BaseItems
  13. /// </summary>
  14. public class PersonInfo
  15. {
  16. public string Name { get; set; }
  17. public string Overview { get; set; }
  18. public PersonType PersonType { get; set; }
  19. }
  20. public enum PersonType
  21. {
  22. Actor,
  23. Director,
  24. Writer,
  25. Producer
  26. }
  27. }