#145 : Ajout du seeder Spotify.
This commit is contained in:
34
Webzine.Business/DTOs/Spotify/SpotifyAlbumDto.cs
Normal file
34
Webzine.Business/DTOs/Spotify/SpotifyAlbumDto.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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 ();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user