blob: 11d8e383eec91b47425fb0fdc695990d2a6c44c9 (
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
33
34
35
36
37
|
using System;
using System.Collections.Generic;
namespace Jellyfin.Data.Entities;
/// <summary>
/// Represents an ItemValue for a BaseItem.
/// </summary>
public class ItemValue
{
/// <summary>
/// Gets or Sets the ItemValueId.
/// </summary>
public required Guid ItemValueId { get; set; }
/// <summary>
/// Gets or Sets the Type.
/// </summary>
public required ItemValueType Type { get; set; }
/// <summary>
/// Gets or Sets the Value.
/// </summary>
public required string Value { get; set; }
/// <summary>
/// Gets or Sets the sanitized Value.
/// </summary>
public required string CleanValue { get; set; }
/// <summary>
/// Gets or Sets all associated BaseItems.
/// </summary>
#pragma warning disable CA2227 // Collection properties should be read only
public ICollection<ItemValueMap>? BaseItemsMap { get; set; }
#pragma warning restore CA2227 // Collection properties should be read only
}
|