mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
38 lines
897 B
C#
38 lines
897 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Jellyfin.Data.Entities;
|
|
|
|
/// <summary>
|
|
/// Represents an ItemValue for a BaseItem.
|
|
/// </summary>
|
|
public class ItemValue
|
|
{
|
|
/// <summary>
|
|
/// Gets or Sets the reference ItemId.
|
|
/// </summary>
|
|
public Guid ItemId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or Sets the referenced BaseItem.
|
|
/// </summary>
|
|
public required BaseItemEntity Item { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or Sets the Type.
|
|
/// </summary>
|
|
public required int Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or Sets the Value.
|
|
/// </summary>
|
|
public required string Value { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or Sets the sanatised Value.
|
|
/// </summary>
|
|
public required string CleanValue { get; set; }
|
|
}
|