using System.Collections.Generic; using Jellyfin.Database.Implementations.Interfaces; namespace Jellyfin.Database.Implementations.Entities.Libraries { /// /// An entity representing a photo. /// public class Photo : LibraryItem, IHasReleases { /// /// Initializes a new instance of the class. /// /// The library. public Photo(Library library) : base(library) { PhotoMetadata = new HashSet(); Releases = new HashSet(); } /// /// Gets a collection containing the photo metadata. /// public virtual ICollection PhotoMetadata { get; private set; } /// public virtual ICollection Releases { get; private set; } } }