using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Configuration;

namespace songrequests_blazor.Data
{
    public class Song
    {
        public int Id { get; set; }
        public string Uri { get; set; } = null!;

        // Tag-Parameter
        public string Title { get; set; } = null!;
        public string? Artist { get; set; }
        public string? Album { get; set; }
        public int? Year { get; set; }
        public string? Genre { get; set; }
        public TimeSpan Length { get; set; }


        // Statistics
        public int RequestCount { get; set; }

        public int Library_ID { get; set; }
        public virtual Library Library { get; set; } = null!;

        public virtual List<QueuedSong>? Queued { get; set; }

    }
}
