Person.cs 797 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MediaBrowser.Model.Entities
  7. {
  8. /// <summary>
  9. /// This is the full Person object that can be retrieved with all of it's data.
  10. /// </summary>
  11. public class Person : BaseItem
  12. {
  13. public PersonType PersonType { get; set; }
  14. }
  15. /// <summary>
  16. /// This is the small Person stub that is attached to BaseItems
  17. /// </summary>
  18. public class PersonInfo
  19. {
  20. public string Name { get; set; }
  21. public string Overview { get; set; }
  22. public PersonType PersonType { get; set; }
  23. }
  24. public enum PersonType
  25. {
  26. Actor = 1,
  27. Director = 2,
  28. Writer = 3
  29. }
  30. }