aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/AncestorId.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Data/Entities/AncestorId.cs')
-rw-r--r--Jellyfin.Data/Entities/AncestorId.cs14
1 files changed, 12 insertions, 2 deletions
diff --git a/Jellyfin.Data/Entities/AncestorId.cs b/Jellyfin.Data/Entities/AncestorId.cs
index 941a8eb2e..ef0fe0ba7 100644
--- a/Jellyfin.Data/Entities/AncestorId.cs
+++ b/Jellyfin.Data/Entities/AncestorId.cs
@@ -8,12 +8,22 @@ namespace Jellyfin.Data.Entities;
public class AncestorId
{
/// <summary>
- /// Gets or Sets the AncestorId that may or may not be an database managed Item or an materialised local item.
+ /// Gets or Sets the AncestorId.
/// </summary>
public required Guid ParentItemId { get; set; }
/// <summary>
- /// Gets or Sets the related that may or may not be an database managed Item or an materialised local item.
+ /// Gets or Sets the related BaseItem.
/// </summary>
public required Guid ItemId { get; set; }
+
+ /// <summary>
+ /// Gets or Sets the ParentItem.
+ /// </summary>
+ public required BaseItemEntity ParentItem { get; set; }
+
+ /// <summary>
+ /// Gets or Sets the Child item.
+ /// </summary>
+ public required BaseItemEntity Item { get; set; }
}