ItemValueMap.cs 752 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Jellyfin.Data.Entities;
  4. /// <summary>
  5. /// Mapping table for the ItemValue BaseItem relation.
  6. /// </summary>
  7. public class ItemValueMap
  8. {
  9. /// <summary>
  10. /// Gets or Sets the ItemId.
  11. /// </summary>
  12. public required Guid ItemId { get; set; }
  13. /// <summary>
  14. /// Gets or Sets the ItemValueId.
  15. /// </summary>
  16. public required Guid ItemValueId { get; set; }
  17. /// <summary>
  18. /// Gets or Sets the referenced <see cref="BaseItemEntity"/>.
  19. /// </summary>
  20. public required BaseItemEntity Item { get; set; }
  21. /// <summary>
  22. /// Gets or Sets the referenced <see cref="ItemValue"/>.
  23. /// </summary>
  24. public required ItemValue ItemValue { get; set; }
  25. }