Files

16 lines
519 B
C#

namespace DeepDrftModels.DTOs;
/// <summary>
/// One distinct album with its track count and a representative cover image key. Backs the
/// /albums browse grid.
/// </summary>
[Obsolete("Replaced by ReleaseDto. Use ITrackService.GetReleases().")]
public class AlbumSummaryDto
{
public required string Album { get; set; }
public int TrackCount { get; set; }
/// <summary>ImagePath of the first track in the album that has one; null when none do.</summary>
public string? CoverImageKey { get; set; }
}