using System; using System.Linq; using Sony.Filtr.AppleMusic.Data; using Sony.Filtr.Contracts.Entities.Buzz; namespace Sony.Filtr.AdminAPI.ViewModels.AppleMusic { [Serializable] public class AppleMusicPlaylistViewModel : AppleMusicPlaylist, IAppleMusicPlaylistWithOwner { public BuzzOwnerViewModel Owner { get; set; } } [Serializable] public class AppleMusicPlaylistWithStreamsViewModel : AppleMusicPlaylistViewModel, IAppleMusicPlaylistStreams { public long Streams56Days { get; set; } public long Streams28Days { get; set; } public long Streams14Days { get; set; } public long Streams7Days { get; set; } public long StreamsLatest { get; set; } public int StreamDays56Days { get; set; } public int StreamDays28Days { get; set; } public int StreamDays14Days { get; set; } public int StreamDays7Days { get; set; } } public interface IAppleMusicPlaylistStreams { long Streams56Days { get; set; } long Streams28Days { get; set; } long Streams14Days { get; set; } long Streams7Days { get; set; } long StreamsLatest { get; set; } int StreamDays56Days { get; set; } int StreamDays28Days { get; set; } int StreamDays14Days { get; set; } int StreamDays7Days { get; set; } } public interface IAppleMusicPlaylistWithOwner { BuzzOwnerViewModel Owner { get; set; } long? CuratorId { get; set; } } }