Files
Nemera/src/Lumina.Application/Common/DTO/MediaLibrary/AudioLibrary/MusicLibrary/Artists/ArtistLiteRow.cs
T

27 lines
879 B
C#

#region ========================================================================= USING =====================================================================================
using System;
#endregion
namespace Lumina.Application.Common.DTO.MediaLibrary.AudioLibrary.MusicLibrary.Artists;
/// <summary>
/// Lightweight read model of an artist, containing only the fields needed to display the artist in a card-based grid or a list.
/// </summary>
public sealed record ArtistLiteRow
{
/// <summary>
/// Gets the Id of the artist.
/// </summary>
public required Guid Id { get; init; }
/// <summary>
/// Gets the name of the artist.
/// </summary>
public required string Name { get; init; }
/// <summary>
/// Gets the path of the image representing the artist, if available.
/// </summary>
public string? CoverPath { get; init; }
}