using System; using System.Data.Common; using MySqlConnector; using Sony.Filtr.Utility.Extensions; namespace Sony.Filtr.Spotify.Artists { public class SpotifyArtistFollowers { public SpotifyArtistFollowers() { } public SpotifyArtistFollowers(MySqlDataReader reader) { artist_id = reader.GetSafeString("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; } } }