34 lines
876 B
C#
34 lines
876 B
C#
namespace Webzine.Business.DTOs.Spotify
|
|
{
|
|
using System.Text.Json.Serialization;
|
|
|
|
/// <summary>
|
|
/// Objet album de spotify.
|
|
/// </summary>
|
|
public class SpotifyAlbumDto
|
|
{
|
|
/// <summary>
|
|
/// Id de l'album.
|
|
/// </summary>
|
|
[JsonPropertyName("id")]
|
|
public string Id { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Nom de l'album.
|
|
/// </summary>
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Date de sortie.
|
|
/// </summary>
|
|
[JsonPropertyName("release_date")]
|
|
public string? ReleaseDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Urls de la jaquette.
|
|
/// </summary>
|
|
[JsonPropertyName("images")]
|
|
public List<SpotifyImageDto> Images { get; set; } = new ();
|
|
}
|
|
} |