Person.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. 
  2. namespace MediaBrowser.Controller.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. }
  10. /// <summary>
  11. /// This is the small Person stub that is attached to BaseItems
  12. /// </summary>
  13. public class PersonInfo
  14. {
  15. /// <summary>
  16. /// Gets or sets the name.
  17. /// </summary>
  18. /// <value>The name.</value>
  19. public string Name { get; set; }
  20. /// <summary>
  21. /// Gets or sets the role.
  22. /// </summary>
  23. /// <value>The role.</value>
  24. public string Role { get; set; }
  25. /// <summary>
  26. /// Gets or sets the type.
  27. /// </summary>
  28. /// <value>The type.</value>
  29. public string Type { get; set; }
  30. /// <summary>
  31. /// Returns a <see cref="System.String" /> that represents this instance.
  32. /// </summary>
  33. /// <returns>A <see cref="System.String" /> that represents this instance.</returns>
  34. public override string ToString()
  35. {
  36. return Name;
  37. }
  38. }
  39. }