aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/AncestorId.cs
blob: 941a8eb2e1acd4657c4151350cc4348282d34759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;

namespace Jellyfin.Data.Entities;

/// <summary>
/// Represents the relational informations for an <see cref="BaseItemEntity"/>.
/// </summary>
public class AncestorId
{
    /// <summary>
    /// Gets or Sets the AncestorId that may or may not be an database managed Item or an materialised local item.
    /// </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.
    /// </summary>
    public required Guid ItemId { get; set; }
}