#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.DTO.AudioLibrary.MusicLibrary;
using Lumina.Presentation.Web.Common.DTO.Common;
using Lumina.Presentation.Web.Common.DTO.MediaContributors;
using Lumina.Presentation.Web.Common.Enums.AudioLibrary;
using System;
using System.Collections.Generic;
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.DTO.AudioLibrary.MusicLibrary;
///
/// Data transfer object carrying the full details of an album, as stored in the media library.
///
[DebuggerDisplay("Title: {Metadata?.Title}")]
public class MusicAlbumDto
{
///
/// Gets or sets the Id of the album.
///
public Guid Id { get; set; }
///
/// Gets or sets the Id of the artist the album belongs to.
///
public Guid ArtistId { get; set; }
///
/// Gets or sets the name of the artist the album belongs to.
///
public string ArtistName { get; set; } = string.Empty;
///
/// Gets or sets the Id of the media library this album belongs to.
///
public Guid LibraryId { get; set; }
///
/// Gets or sets the path of the image representing the album, if available.
///
public string? CoverPath { get; set; }
///
/// Gets or sets the stored artwork of the album, in display order, so that all of its pieces can be presented, not just the cover.
///
public List? Artwork { get; set; }
///
/// Gets or sets the album metadata of the album.
///
public MusicAlbumMetadataDto? Metadata { get; set; }
///
/// Gets or sets the physical or digital medium of the album, if applicable.
///
public MusicMediaFormat? MediaFormat { get; set; }
///
/// Gets or sets the outermost physical packaging of the album, if applicable.
///
public MusicReleasePackaging? Packaging { get; set; }
///
/// Gets or sets the barcode of the album, if applicable.
///
public string? Barcode { get; set; }
///
/// Gets or sets the catalog numbers of the album, if applicable.
///
public List? CatalogNumbers { get; set; }
///
/// Gets or sets the name of the label that issued the album, if applicable.
///
public string? Label { get; set; }
///
/// Gets or sets the ASIN (Amazon Standard Identification Number) of the album, if applicable.
///
public string? ASIN { get; set; }
///
/// Gets or sets the MusicBrainz identifier of the release, if applicable.
///
public Guid? MusicBrainzReleaseId { get; set; }
///
/// Gets or sets the MusicBrainz identifier of the release group, if applicable.
///
public Guid? MusicBrainzReleaseGroupId { get; set; }
///
/// Gets or sets the MusicBrainz identifier of the release artist, if applicable.
///
public Guid? MusicBrainzReleaseArtistId { get; set; }
///
/// Gets or sets the date and time when the album was created.
///
public DateTime CreatedOnUtc { get; set; }
///
/// Gets or sets the optional date and time when the album was updated.
///
public DateTime? UpdatedOnUtc { get; set; }
///
/// Gets or sets the list of references to the media contributors that performed on the album, each with the role they played.
///
public List? Contributors { get; set; }
///
/// Gets or sets the list of ratings for this album.
///
public List? Ratings { get; set; }
///
/// Gets or sets the list of tracks of the album.
///
public List? Tracks { get; set; }
}