Person.cs 794 B

1234567891011121314151617181920212223242526272829303132333435
  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. 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. public override string ToString()
  20. {
  21. return Name;
  22. }
  23. }
  24. public enum PersonType
  25. {
  26. Other,
  27. Actor,
  28. Director,
  29. Writer,
  30. Producer
  31. }
  32. }