diff options
| author | JPVenson <github@jpb.email> | 2024-10-10 14:32:49 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-10-10 14:32:49 +0000 |
| commit | ee0dad6f432e5bfdda074e3f006f4c4d3c418d08 (patch) | |
| tree | 34bbc0ea11007d9e7cd84f738d7b69cf88073259 /Jellyfin.Data/Entities/AncestorId.cs | |
| parent | 3e7ce5e1df9c6820a6dfd4c23aea29eed83b43ba (diff) | |
Refactored ItemValue structure
Diffstat (limited to 'Jellyfin.Data/Entities/AncestorId.cs')
| -rw-r--r-- | Jellyfin.Data/Entities/AncestorId.cs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Jellyfin.Data/Entities/AncestorId.cs b/Jellyfin.Data/Entities/AncestorId.cs index 941a8eb2e1..ef0fe0ba71 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; } } |
