namespace Webzine.Business.DTOs.Spotify
{
using System.Text.Json.Serialization;
///
/// Objet track de spotify.
///
public class SpotifyTrackDto
{
///
/// Id de la track.
///
[JsonPropertyName("id")]
public string Id { get; set; } = string.Empty;
///
/// Nom de la musique.
///
[JsonPropertyName("name")]
public string Name { get; set; } = string.Empty;
///
/// Duree de la musique en millieseconde.
///
[JsonPropertyName("duration_ms")]
public int DurationMs { get; set; }
///
/// urls spotify.
///
[JsonPropertyName("external_urls")]
public SpotifyExternalUrlsDto? ExternalUrls { get; set; }
}
}