namespace Aberwyn.Models
{
    public class StreamingService
    {
        public int Id { get; set; }
        public string Name { get; set; } // T.ex. "Netflix", "Plex"
    }

    public class MediaItem
    {
        public int Id { get; set; }
        public string TmdbId { get; set; } // TMDb ID
        public string Title { get; set; }
        public string Overview { get; set; }
        public string PosterPath { get; set; }
        public string MediaType { get; set; } // "movie" eller "tv"
        public double Rating { get; set; }
        public DateTime? ReleaseDate { get; set; }

        public List<MediaItemStreamingService> MediaItemStreamingServices { get; set; } = new();
    }

    public class MediaItemStreamingService
    {
        public int MediaItemId { get; set; }
        public MediaItem MediaItem { get; set; }

        public int StreamingServiceId { get; set; }
        public StreamingService StreamingService { get; set; }
    }


}
