using System.Linq; using Newtonsoft.Json; using NodaTime; using Sony.Filtr.Contracts.Abstractions; namespace Sony.Filtr.SpotifyAnalytics.Data { public class SpotifyTrackAggregatedStreamSummary : IAggregatedStreamFormat { [PetaPoco.Column("DistributerId")] public int DistributerId { get; set; } [PetaPoco.Column("Date")] [JsonProperty("date")] public LocalDate date { get; set; } [PetaPoco.Column("CountryCode")] [JsonProperty("country_code")] public string country_code { get; set; } [PetaPoco.Column("ReportCountryCode")] [JsonProperty("report_country_code")] public string report_country_code { get; set; } [PetaPoco.Column("ReportDate")] [JsonProperty("report_date")] public LocalDate report_date { get; set; } [PetaPoco.Column("RepeatPlay")] [JsonProperty("repeat_play")] public int repeat_play { get; set; } [PetaPoco.Column("ShufflePlay")] [JsonProperty("shuffle_play")] public int shuffle_play { get; set; } [PetaPoco.Column("SourceAlbum")] [JsonProperty("source_album")] public int source_album { get; set; } [PetaPoco.Column("SourceArtist")] [JsonProperty("source_artist")] public int source_artist { get; set; } [PetaPoco.Column("SourceChart")] [JsonProperty("source_chart")] public int source_chart { get; set; } [PetaPoco.Column("SourceCollection")] [JsonProperty("source_collection")] public int source_collection { get; set; } [PetaPoco.Column("SourceOther")] [JsonProperty("source_other")] public int source_other { get; set; } [PetaPoco.Column("SourceOthersPlaylist")] [JsonProperty("source_others_playlist")] public int source_others_playlist { get; set; } [PetaPoco.Column("SourceRadio")] [JsonProperty("source_radio")] public int source_radio { get; set; } [PetaPoco.Column("SourceSearch")] [JsonProperty("source_search")] public int source_search { get; set; } [PetaPoco.Column("Streams")] [JsonProperty("streams")] public int streams { get; set; } [JsonProperty("free_listeners")] public int free_listeners { get; set; } [JsonProperty("paid_listeners")] public int paid_listeners { get; set; } [JsonProperty("listeners")] public int listeners { get; set; } [JsonProperty("free_listeners_source_others_playlist")] public int free_listeners_source_others_playlist { get; set; } [JsonProperty("paid_listeners_source_others_playlist")] public int paid_listeners_source_others_playlist { get; set; } [JsonProperty("listeners_source_others_playlist")] public int listeners_source_others_playlist { get; set; } } }