People.cs 745 B

1234567891011121314151617181920212223242526272829303132
  1. #pragma warning disable CA2227 // Collection properties should be read only
  2. using System;
  3. using System.Collections.Generic;
  4. namespace Jellyfin.Data.Entities;
  5. /// <summary>
  6. /// People entity.
  7. /// </summary>
  8. public class People
  9. {
  10. /// <summary>
  11. /// Gets or Sets the PeopleId.
  12. /// </summary>
  13. public required Guid Id { get; set; }
  14. /// <summary>
  15. /// Gets or Sets the Persons Name.
  16. /// </summary>
  17. public required string Name { get; set; }
  18. /// <summary>
  19. /// Gets or Sets the Type.
  20. /// </summary>
  21. public string? PersonType { get; set; }
  22. /// <summary>
  23. /// Gets or Sets the mapping of People to BaseItems.
  24. /// </summary>
  25. public ICollection<PeopleBaseItemMap>? BaseItems { get; set; }
  26. }