using System; namespace Jellyfin.Database.Implementations.Entities; /// /// Represents a linked child relationship between items (e.g., BoxSet to Movies, Playlist to tracks). /// public class LinkedChildEntity { /// /// Gets or sets the parent item ID (BoxSet, Playlist, etc.). /// public required Guid ParentId { get; set; } /// /// Gets or sets the child item ID. /// public required Guid ChildId { get; set; } /// /// Gets or sets the type of linked child (Manual or Shortcut). /// public required LinkedChildType ChildType { get; set; } /// /// Gets or sets the sort order. /// public int? SortOrder { get; set; } /// /// Gets or sets the parent item navigation property. /// public BaseItemEntity? Parent { get; set; } /// /// Gets or sets the child item navigation property. /// public BaseItemEntity? Child { get; set; } }