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/ItemValueMap.cs | |
| parent | 3e7ce5e1df9c6820a6dfd4c23aea29eed83b43ba (diff) | |
Refactored ItemValue structure
Diffstat (limited to 'Jellyfin.Data/Entities/ItemValueMap.cs')
| -rw-r--r-- | Jellyfin.Data/Entities/ItemValueMap.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Jellyfin.Data/Entities/ItemValueMap.cs b/Jellyfin.Data/Entities/ItemValueMap.cs new file mode 100644 index 000000000..94db6a011 --- /dev/null +++ b/Jellyfin.Data/Entities/ItemValueMap.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; + +namespace Jellyfin.Data.Entities; + +/// <summary> +/// Mapping table for the ItemValue BaseItem relation. +/// </summary> +public class ItemValueMap +{ + /// <summary> + /// Gets or Sets the ItemId. + /// </summary> + public required Guid ItemId { get; set; } + + /// <summary> + /// Gets or Sets the ItemValueId. + /// </summary> + public required Guid ItemValueId { get; set; } + + /// <summary> + /// Gets or Sets the referenced <see cref="BaseItemEntity"/>. + /// </summary> + public required BaseItemEntity Item { get; set; } + + /// <summary> + /// Gets or Sets the referenced <see cref="ItemValue"/>. + /// </summary> + public required ItemValue ItemValue { get; set; } +} |
