using System; using System.Data.Common; using Sony.Filtr.Utility.Extensions; namespace Sony.Filtr.Spotify.Artists { public class SpotifyArtistFollowers { public SpotifyArtistFollowers() { } public SpotifyArtistFollowers(DbDataReader reader) { artist_id = reader.GetString("artist_id"); followers_count = reader.GetInt32("followers_count"); as_of = reader.GetDateTime("as_of").ToString("s"); } public string artist_id { get; set; } public int followers_count { get; set; } public string as_of { get; set; } } }