using System;
namespace Jellyfin.Data.Entities.Libraries
{
///
/// An entity containing metadata for a custom item.
///
public class CustomItemMetadata : ItemMetadata
{
///
/// Initializes a new instance of the class.
///
/// The title or name of the object.
/// ISO-639-3 3-character language codes.
/// The item.
public CustomItemMetadata(string title, string language, CustomItem item) : base(title, language)
{
if (item == null)
{
throw new ArgumentNullException(nameof(item));
}
item.CustomItemMetadata.Add(this);
}
///
/// Initializes a new instance of the class.
///
///
/// Default constructor. Protected due to required properties, but present because EF needs it.
///
protected CustomItemMetadata()
{
}
}
}