#pragma warning disable CA2227 using System.Collections.Generic; using Jellyfin.Data.Interfaces; namespace Jellyfin.Data.Entities.Libraries { /// /// An entity representing a custom item. /// public class CustomItem : LibraryItem, IHasReleases { /// /// Initializes a new instance of the class. /// /// The library. public CustomItem(Library library) : base(library) { CustomItemMetadata = new HashSet(); Releases = new HashSet(); } /// /// Gets or sets a collection containing the metadata for this item. /// public virtual ICollection CustomItemMetadata { get; protected set; } /// public virtual ICollection Releases { get; protected set; } } }