aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/BaseItemProvider.cs
blob: 1fc721d6a28827da1d54de76eca47b5d898d691b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Jellyfin.Data.Entities;

/// <summary>
/// Represents an Key-Value relaten of an BaseItem's provider.
/// </summary>
public class BaseItemProvider
{
    /// <summary>
    /// Gets or Sets the reference ItemId.
    /// </summary>
    public Guid ItemId { get; set; }

    /// <summary>
    /// Gets or Sets the reference BaseItem.
    /// </summary>
    public required BaseItemEntity Item { get; set; }

    /// <summary>
    /// Gets or Sets the ProvidersId.
    /// </summary>
    public required string ProviderId { get; set; }

    /// <summary>
    /// Gets or Sets the Providers Value.
    /// </summary>
    public required string ProviderValue { get; set; }
}